Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index b0c0946cd4ac9ed5187ab32c56df9c4835239f5e..6d932d4ad83a2c6d4b3580728ac9e2c1f07012ae 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -3097,8 +3097,7 @@ HGraph::HGraph(CompilationInfo* info) |
inlined_functions_(5, info->zone()) { |
if (info->IsStub()) { |
HydrogenCodeStub* stub = info->code_stub(); |
- CodeStubInterfaceDescriptor* descriptor = |
- stub->GetInterfaceDescriptor(isolate_); |
+ CodeStubInterfaceDescriptor* descriptor = stub->GetInterfaceDescriptor(); |
start_environment_ = |
new(zone_) HEnvironment(zone_, descriptor->environment_length()); |
} else { |
@@ -8009,7 +8008,7 @@ bool HOptimizedGraphBuilder::TryInlineApiCall(Handle<JSFunction> function, |
isolate()->call_descriptor(Isolate::ApiFunctionCall); |
CallApiFunctionStub stub(isolate(), is_store, call_data_is_undefined, argc); |
- Handle<Code> code = stub.GetCode(isolate()); |
+ Handle<Code> code = stub.GetCode(); |
HConstant* code_value = Add<HConstant>(code); |
ASSERT((sizeof(op_vals) / kPointerSize) == |