Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 38f5b7d503d8d2669058e4c580d6203f0f36500d..0adf6eea2906c3136a72ad75e94033c3a88fa3f3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1030,7 +1030,7 @@ class Object { |
#define RETURN_FAILURE(isolate, should_throw, call) \ |
do { \ |
- if ((should_throw) == DONT_THROW) { \ |
+ if ((should_throw) == Object::DONT_THROW) { \ |
return Just(false); \ |
} else { \ |
isolate->Throw(*isolate->factory()->call); \ |
@@ -9578,7 +9578,11 @@ class JSProxy: public JSReceiver { |
DECLARE_CAST(JSProxy) |
- static MaybeHandle<Object> GetPrototype(Handle<JSProxy> receiver); |
+ // Proxy Traps: |
+ static MaybeHandle<Object> GetPrototype(Handle<JSProxy> proxy); |
+ static Maybe<bool> SetPrototype(Handle<JSProxy> proxy, Handle<Object> value, |
+ bool from_javascript, |
+ ShouldThrow should_throw); |
neis
2015/11/16 19:09:54
Shouldn't they be marked as MUST_USE_RESULT?
|
MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithHandler( |
Handle<JSProxy> proxy, |