Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 2a1f83d9e47ac16c98f71c4504ff46457412e6e5..219c88fab191ced08f2020d2e2adc1ed549ed507 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -500,7 +500,7 @@ static void LookupForRead(Handle<Object> object, |
Handle<Object> CallICBase::TryCallAsFunction(Handle<Object> object) { |
- Handle<Object> delegate = Execution::GetFunctionDelegate(object); |
+ Handle<Object> delegate = Execution::GetFunctionDelegate(isolate(), object); |
if (delegate->IsJSFunction() && !object->IsJSFunctionProxy()) { |
// Patch the receiver and use the delegate as the function to |