Revision: 9446
Author: [email protected]
Date: Tue Sep 27 03:42:32 2011
Log: In Invoke get JSEntryStub and JSConstructEntryStub directly
through roots.
Getting them through stub cache introduces bigger overhead.
These stubs are always present.
[email protected]
Review URL: http://codereview.chromium.org/8044029
http://code.google.com/p/v8/source/detail?r=9446
Modified:
/branches/bleeding_edge/src/execution.cc
=======================================
--- /branches/bleeding_edge/src/execution.cc Thu Sep 22 10:12:41 2011
+++ /branches/bleeding_edge/src/execution.cc Tue Sep 27 03:42:32 2011
@@ -88,11 +88,9 @@
Handle<Code> code;
if (construct) {
- JSConstructEntryStub stub;
- code = stub.GetCode();
+ code = isolate->factory()->js_construct_entry_code();
} else {
- JSEntryStub stub;
- code = stub.GetCode();
+ code = isolate->factory()->js_entry_code();
}
// Convert calls on global objects to be calls on the global
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev