Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 41c0d2a3d49a58e5a3ec8780fff005d39755daa2..b934bef0e46bbcbc12258fe0cebab0788fb1f10c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1584,7 +1584,10 @@ class Object : public MaybeObject { |
uint32_t index); |
// For use when we know that no exception can be thrown. |
- inline Object* GetElementNoExceptionThrown(Isolate* isolate, uint32_t index); |
+ static inline Handle<Object> GetElementNoExceptionThrown( |
+ Isolate* isolate, |
+ Handle<Object> object, |
+ uint32_t index); |
MUST_USE_RESULT MaybeObject* GetElementWithReceiver(Isolate* isolate, |
Object* receiver, |
uint32_t index); |