Index: src/api-arguments.h |
diff --git a/src/api-arguments.h b/src/api-arguments.h |
index 3bfe34dc894c1828a3faa580c97c30b130034159..60875d5f006cc505a38bf9f54f81a057b256a672 100644 |
--- a/src/api-arguments.h |
+++ b/src/api-arguments.h |
@@ -206,19 +206,19 @@ class FunctionCallbackArguments |
static const int kIsolateIndex = T::kIsolateIndex; |
static const int kCalleeIndex = T::kCalleeIndex; |
static const int kContextSaveIndex = T::kContextSaveIndex; |
+ static const int kNewTargetIndex = T::kNewTargetIndex; |
FunctionCallbackArguments(internal::Isolate* isolate, internal::Object* data, |
internal::HeapObject* callee, |
- internal::Object* holder, internal::Object** argv, |
- int argc, bool is_construct_call) |
- : Super(isolate), |
- argv_(argv), |
- argc_(argc), |
- is_construct_call_(is_construct_call) { |
+ internal::Object* holder, |
+ internal::HeapObject* new_target, |
+ internal::Object** argv, int argc) |
+ : Super(isolate), argv_(argv), argc_(argc) { |
Object** values = begin(); |
values[T::kDataIndex] = data; |
values[T::kCalleeIndex] = callee; |
values[T::kHolderIndex] = holder; |
+ values[T::kNewTargetIndex] = new_target; |
values[T::kContextSaveIndex] = isolate->heap()->the_hole_value(); |
values[T::kIsolateIndex] = reinterpret_cast<internal::Object*>(isolate); |
// Here the hole is set as default value. |
@@ -245,7 +245,6 @@ class FunctionCallbackArguments |
private: |
internal::Object** argv_; |
int argc_; |
- bool is_construct_call_; |
}; |
} // namespace internal |