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

Unified Diff: vm/code_generator_ia32.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
« no previous file with comments | « vm/code_generator.cc ('k') | vm/code_generator_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/code_generator_ia32.h
===================================================================
--- vm/code_generator_ia32.h (revision 7669)
+++ vm/code_generator_ia32.h (working copy)
@@ -9,7 +9,6 @@
#error Do not include code_generator_ia32.h directly; use code_generator.h.
#endif
-#include "vm/assembler.h"
#include "vm/ast.h"
#include "vm/growable_array.h"
#include "vm/parser.h"
@@ -119,6 +118,8 @@
static bool CanOptimize();
private:
+ static const int kLocalsOffsetFromFP = (-1 * kWordSize);
+
// TODO(srdjan): Remove the friendship once the two compilers are properly
// structured.
friend class OptimizingCodeGenerator;
« no previous file with comments | « vm/code_generator.cc ('k') | vm/code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698