Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index ca19e05be9789284aac1f5743cda6c8282b71749..2d605c2c8d4fe67624b19f485397ef4db9942522 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2785,7 +2785,7 @@ class FunctionCallbackInfo { |
internal::Object** implicit_args_; |
internal::Object** values_; |
int length_; |
- bool is_construct_call_; |
+ int is_construct_call_; |
}; |
@@ -6730,7 +6730,7 @@ ReturnValue<T> FunctionCallbackInfo<T>::GetReturnValue() const { |
template<typename T> |
bool FunctionCallbackInfo<T>::IsConstructCall() const { |
- return is_construct_call_; |
+ return is_construct_call_ & 0x1; |
} |