Skip to content

Commit

Permalink
Remove HasInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoopa committed Jul 13, 2015
1 parent 9b359f3 commit e8f84fe
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions nan.h
Original file line number Diff line number Diff line change
Expand Up @@ -671,13 +671,6 @@ class TryCatch {
#endif
}

NAN_INLINE bool HasInstance(
const v8::Persistent<v8::FunctionTemplate>& function_template
, v8::Handle<v8::Value> value
) {
return New(function_template)->HasInstance(value);
}

#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 4 || \
(V8_MAJOR_VERSION == 4 && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION >= 3))
NAN_INLINE MaybeLocal<v8::String>
Expand Down Expand Up @@ -1026,13 +1019,6 @@ class Utf8String {
node::Buffer::New(data, size, FreeData, NULL)->handle_)));
}

NAN_INLINE bool HasInstance(
const v8::Persistent<v8::FunctionTemplate>& function_template
, v8::Handle<v8::Value> value
) {
return function_template->HasInstance(value);
}

namespace imp {
NAN_INLINE void
widenString(std::vector<uint16_t> *ws, const uint8_t *s, int l) {
Expand Down

0 comments on commit e8f84fe

Please sign in to comment.