Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d4a1f702b96910bf3580f076ce5519b65b512c46..c0e4c96dd916123486712639746b5be725f62794 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7776,10 +7776,9 @@ class GlobalObject: public JSObject { |
// by throwing an exception. This is for the debug and builtins global |
// objects, where it is known which properties can be expected to be present |
// on the object. |
- Object* GetPropertyNoExceptionThrown(Name* key) { |
- Object* answer = GetProperty(key)->ToObjectUnchecked(); |
- return answer; |
- } |
+ static inline Handle<Object> GetPropertyNoExceptionThrown( |
+ Handle<GlobalObject> global, |
+ Handle<Name> name); |
// Casting. |
static inline GlobalObject* cast(Object* obj); |