Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 78ead5e91b2f3026bb8793e86fed795ff1288e4d..3708c7f2b09d339a1f79a139084f9f5ecf9eb86b 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -222,10 +222,7 @@ void JSGenericLowering::ReplaceWithRuntimeCall(Node* node, |
linkage()->GetRuntimeCallDescriptor(f, nargs, properties); |
Node* ref = ExternalConstant(ExternalReference(f, isolate())); |
Node* arity = Int32Constant(nargs); |
- if (!centrystub_constant_.is_set()) { |
- centrystub_constant_.set(CodeConstant(CEntryStub(isolate(), 1).GetCode())); |
- } |
- PatchInsertInput(node, 0, centrystub_constant_.get()); |
+ PatchInsertInput(node, 0, jsgraph()->CEntryStubConstant()); |
PatchInsertInput(node, nargs + 1, ref); |
PatchInsertInput(node, nargs + 2, arity); |
PatchOperator(node, common()->Call(desc)); |