Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index c0213d2ea477ab78ec7a77c4404e7a09ea4e8429..ec82fd041b45f328548134324e0a8a65038ae5c4 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4041,6 +4041,14 @@ static Handle<Object> GetCharAt(Handle<String> string, uint32_t index) { |
} |
+MaybeObject* Runtime::GetElementOrCharAtOrFail(Isolate* isolate, |
+ Handle<Object> object, |
+ uint32_t index) { |
+ CALL_HEAP_FUNCTION_PASS_EXCEPTION(isolate, |
+ GetElementOrCharAt(isolate, object, index)); |
+} |
+ |
+ |
MaybeObject* Runtime::GetElementOrCharAt(Isolate* isolate, |
Handle<Object> object, |
uint32_t index) { |