Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 6261c12a9756ccf6620c8fb41ab45430457a0e1b..1cb96c6bc46dfa59f9ab39af79a3bdd9850d1314 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -4043,6 +4043,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) { |