Index: src/runtime.h |
diff --git a/src/runtime.h b/src/runtime.h |
index 74834e214487b13923765c0ba9091bc90606354c..3a5c4546a7f35ac099924558bf8f97eb011487b2 100644 |
--- a/src/runtime.h |
+++ b/src/runtime.h |
@@ -823,9 +823,10 @@ class Runtime : public AllStatic { |
// Support getting the characters in a string using [] notation as |
// in Firefox/SpiderMonkey, Safari and Opera. |
- static Handle<Object> GetElementOrCharAt(Isolate* isolate, |
- Handle<Object> object, |
- uint32_t index); |
+ MUST_USE_RESULT static MaybeHandle<Object> GetElementOrCharAt( |
+ Isolate* isolate, |
+ Handle<Object> object, |
+ uint32_t index); |
MUST_USE_RESULT static MaybeHandle<Object> SetObjectProperty( |
Isolate* isolate, |
@@ -852,9 +853,10 @@ class Runtime : public AllStatic { |
Handle<JSReceiver> object, |
Handle<Object> key); |
- static Handle<Object> GetObjectProperty(Isolate* isolate, |
- Handle<Object> object, |
- Handle<Object> key); |
+ MUST_USE_RESULT static MaybeHandle<Object> GetObjectProperty( |
+ Isolate* isolate, |
+ Handle<Object> object, |
+ Handle<Object> key); |
static void SetupArrayBuffer(Isolate* isolate, |
Handle<JSArrayBuffer> array_buffer, |