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

Unified Diff: src/codegen-inl.h

Issue 113457: Try to preallocate the scratch registers used for inlined keyed loads... (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 1961)
+++ src/codegen-inl.h (working copy)
@@ -43,6 +43,16 @@
}
+void DeferredCode::SetEntryFrame(Result* arg0, Result* arg1) {
+ ASSERT(generator()->has_valid_frame());
+ generator()->frame()->Push(arg0);
+ generator()->frame()->Push(arg1);
+ enter()->set_entry_frame(new VirtualFrame(generator()->frame()));
+ *arg1 = generator()->frame()->Pop();
+ *arg0 = 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