Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 50181b684f1fd18cdbe782eee13b385242f8a12b..9e4941779c1cffe464e6aa1547c4737331056562 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -827,7 +827,7 @@ class Runtime : public AllStatic { |
Handle<Object> object, |
uint32_t index); |
- static Handle<Object> SetObjectProperty( |
+ MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
Isolate* isolate, |
Handle<Object> object, |
Handle<Object> key, |
@@ -835,8 +835,7 @@ class Runtime : public AllStatic { |
PropertyAttributes attr, |
StrictMode strict_mode); |
- static Handle<Object> ForceSetObjectProperty( |
- Isolate* isolate, |
+ MUST_USE_RESULT static MaybeHandle<Object> ForceSetObjectProperty( |
Handle<JSObject> object, |
Handle<Object> key, |
Handle<Object> value, |
@@ -899,7 +898,7 @@ class Runtime : public AllStatic { |
static void OutOfMemory(); |
// Used in runtime.cc and hydrogen's VisitArrayLiteral. |
- static Handle<Object> CreateArrayLiteralBoilerplate( |
+ MUST_USE_RESULT static MaybeHandle<Object> CreateArrayLiteralBoilerplate( |
Isolate* isolate, |
Handle<FixedArray> literals, |
Handle<FixedArray> elements); |