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

Unified Diff: vm/flow_graph_compiler_x64.h

Issue 10375059: Use a reserved stack local variable to store the Code object so that it can be looked up easily whe… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
Index: vm/flow_graph_compiler_x64.h
===================================================================
--- vm/flow_graph_compiler_x64.h (revision 7576)
+++ vm/flow_graph_compiler_x64.h (working copy)
@@ -10,6 +10,7 @@
#endif
#include "vm/assembler.h"
+#include "vm/assembler_macros.h"
#include "vm/code_descriptors.h"
#include "vm/code_generator.h"
#include "vm/intermediate_language.h"
@@ -39,6 +40,8 @@
void FinalizeExceptionHandlers(const Code& code);
private:
+ static const int kLocalsOffsetFromFP = (-1 * kWordSize);
+
// Constructor is lighweight, major initialization work should occur here.
// This makes it easier to measure time spent in the compiler.
void InitCompiler();

Powered by Google App Engine
This is Rietveld 408576698