Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: src/codegen-inl.h

Issue 115296: Initial bypass of JumpTarget::ComputeEntryFrame for deferred code... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codegen-inl.h
===================================================================
--- src/codegen-inl.h (revision 1936)
+++ src/codegen-inl.h (working copy)
@@ -30,10 +30,19 @@
#define V8_CODEGEN_INL_H_
#include "codegen.h"
+#include "register-allocator-inl.h"
namespace v8 { namespace internal {
+void DeferredCode::SetEntryFrame(Result* arg) {
+ ASSERT(generator()->has_valid_frame());
+ generator()->frame()->Push(arg);
+ enter()->set_entry_frame(new VirtualFrame(generator()->frame()));
+ *arg = generator()->frame()->Pop();
+}
+
+
// -----------------------------------------------------------------------------
// Support for "structured" code comments.
//
« no previous file with comments | « src/codegen.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698