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

Unified Diff: runtime/vm/stub_code_ia32.cc

Issue 10665038: Remove old code generator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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: runtime/vm/stub_code_ia32.cc
===================================================================
--- runtime/vm/stub_code_ia32.cc (revision 9088)
+++ runtime/vm/stub_code_ia32.cc (working copy)
@@ -7,8 +7,8 @@
#include "vm/assembler.h"
#include "vm/assembler_macros.h"
-#include "vm/code_generator.h"
#include "vm/compiler.h"
+#include "vm/flow_graph_compiler.h"
#include "vm/object_store.h"
#include "vm/pages.h"
#include "vm/resolver.h"
@@ -1563,7 +1563,7 @@
__ movl(EBX, FieldAddress(ECX, ICData::function_offset()));
__ incl(FieldAddress(EBX, Function::usage_counter_offset()));
- if (CodeGenerator::CanOptimize()) {
+ if (FlowGraphCompiler::CanOptimize()) {
__ cmpl(FieldAddress(EBX, Function::usage_counter_offset()),
Immediate(FLAG_optimization_counter_threshold));
Label not_yet_hot;

Powered by Google App Engine
This is Rietveld 408576698