Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 7288f38171eb75f6c4e15106817249b4b0b950fe..088e47ad8b3f58696de3622cdcda075a80a6dd7e 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3973,6 +3973,13 @@ MaybeObject* Runtime::HasObjectProperty(Isolate* isolate, |
return isolate->heap()->ToBoolean(object->HasProperty(*name)); |
} |
+MaybeObject* Runtime::GetObjectPropertyOrFail( |
+ Isolate* isolate, |
+ Handle<Object> object, |
+ Handle<Object> key) { |
+ CALL_HEAP_FUNCTION_PASS_EXCEPTION(isolate, |
+ GetObjectProperty(isolate, object, key)); |
+} |
MaybeObject* Runtime::GetObjectProperty(Isolate* isolate, |
Handle<Object> object, |
@@ -4257,6 +4264,18 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_GetDataProperty) { |
} |
+MaybeObject* Runtime::SetObjectPropertyOrFail( |
+ Isolate* isolate, |
+ Handle<Object> object, |
+ Handle<Object> key, |
+ Handle<Object> value, |
+ PropertyAttributes attr, |
+ StrictModeFlag strict_mode) { |
+ CALL_HEAP_FUNCTION_PASS_EXCEPTION(isolate, |
+ SetObjectProperty(isolate, object, key, value, attr, strict_mode)); |
+} |
+ |
+ |
MaybeObject* Runtime::SetObjectProperty(Isolate* isolate, |
Handle<Object> object, |
Handle<Object> key, |