Inline Buffer::HasInstance

This commit is contained in:
Ryan Dahl committed 2010-02-02 19:35:06 -08:00
1 parent 7c9919f810
commit 1660db6b87
2 files changed
+5 -9

No files matched your search

-8
View File
@@ -339,14 +339,6 @@ Handle<Value> Buffer::Utf8ByteLength(const Arguments &args) {
}
bool Buffer::HasInstance(Handle<Value> val) {
if (!val->IsObject()) return false;
Local<Object> obj = val->ToObject();
return constructor_template->HasInstance(obj);
}
void Buffer::Initialize(Handle<Object> target) {
HandleScope scope;