Index: src/builtins/builtins-string.cc |
diff --git a/src/builtins/builtins-string.cc b/src/builtins/builtins-string.cc |
index 73def98a4c3b9c761d1851c1ca65cce20a1f9406..7663c2ce0309b6b2b25bdd61e55de6454c43c357 100644 |
--- a/src/builtins/builtins-string.cc |
+++ b/src/builtins/builtins-string.cc |
@@ -1226,10 +1226,7 @@ void StringBuiltinsAssembler::MaybeCallFunctionAtSymbol( |
// Fall back to a slow lookup of {object[symbol]}. |
- Callable getproperty_callable = CodeFactory::GetProperty(isolate()); |
- Node* const key = HeapConstant(symbol); |
- Node* const maybe_func = CallStub(getproperty_callable, context, object, key); |
- |
+ Node* const maybe_func = GetProperty(context, object, symbol); |
GotoIf(IsUndefined(maybe_func), &out); |
// Attempt to call the function. |