summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_wrap.h')
-rw-r--r--src/handle_wrap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h
index f06f639ce4..b5918f5dfe 100644
--- a/src/handle_wrap.h
+++ b/src/handle_wrap.h
@@ -49,12 +49,6 @@ namespace node {
// js/c++ boundary crossing. At the javascript layer that should all be
// taken care of.
-#define UNWRAP_NO_ABORT(type) \
- assert(!args.This().IsEmpty()); \
- assert(args.This()->InternalFieldCount() > 0); \
- type* wrap = static_cast<type*>( \
- args.This()->GetAlignedPointerFromInternalField(0));
-
class HandleWrap {
public:
static void Close(const v8::FunctionCallbackInfo<v8::Value>& args);