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