Index: src/arguments.h |
diff --git a/src/arguments.h b/src/arguments.h |
index f81486638636800ae391d47c6ba4c1372fa42d89..481c1ca5e67bdcabc5e91b5068539e73ddd710a2 100644 |
--- a/src/arguments.h |
+++ b/src/arguments.h |
@@ -152,19 +152,17 @@ |
static const int kReturnValueDefaultValueIndex = |
T::kReturnValueDefaultValueIndex; |
static const int kIsolateIndex = T::kIsolateIndex; |
- static const int kShouldThrowOnErrorIndex = T::kShouldThrowOnErrorIndex; |
- |
- PropertyCallbackArguments(Isolate* isolate, Object* data, Object* self, |
- JSObject* holder, Object::ShouldThrow should_throw) |
+ |
+ PropertyCallbackArguments(Isolate* isolate, |
+ Object* data, |
+ Object* self, |
+ JSObject* holder) |
: Super(isolate) { |
Object** values = this->begin(); |
values[T::kThisIndex] = self; |
values[T::kHolderIndex] = holder; |
values[T::kDataIndex] = data; |
values[T::kIsolateIndex] = reinterpret_cast<Object*>(isolate); |
- values[T::kShouldThrowOnErrorIndex] = |
- Smi::FromInt(should_throw == Object::THROW_ON_ERROR ? 1 : 0); |
- |
// Here the hole is set as default value. |
// It cannot escape into js as it's remove in Call below. |
values[T::kReturnValueDefaultValueIndex] = |