Revision: 24358
Author:   [email protected]
Date:     Wed Oct  1 10:54:51 2014 UTC
Log:      Remove deprecated CEntryStub cache in generic lowering.

[email protected]

Review URL: https://codereview.chromium.org/619043002
https://code.google.com/p/v8/source/detail?r=24358

Modified:
 /branches/bleeding_edge/src/compiler/js-generic-lowering.cc
 /branches/bleeding_edge/src/compiler/js-generic-lowering.h

=======================================
--- /branches/bleeding_edge/src/compiler/js-generic-lowering.cc Tue Sep 30 10:42:44 2014 UTC +++ /branches/bleeding_edge/src/compiler/js-generic-lowering.cc Wed Oct 1 10:54:51 2014 UTC
@@ -222,10 +222,7 @@
       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));
=======================================
--- /branches/bleeding_edge/src/compiler/js-generic-lowering.h Tue Sep 30 10:42:44 2014 UTC +++ /branches/bleeding_edge/src/compiler/js-generic-lowering.h Wed Oct 1 10:54:51 2014 UTC
@@ -66,7 +66,6 @@
   CompilationInfo* info_;
   JSGraph* jsgraph_;
   Linkage* linkage_;
-  SetOncePointer<Node> centrystub_constant_;
 };

 }  // namespace compiler

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to