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

Unified Diff: runtime/vm/stub_code_x64.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
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_x64.cc
===================================================================
--- runtime/vm/stub_code_x64.cc (revision 9119)
+++ runtime/vm/stub_code_x64.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"
@@ -1547,7 +1547,7 @@
intptr_t num_args) {
__ movq(RCX, FieldAddress(RBX, ICData::function_offset()));
__ incq(FieldAddress(RCX, Function::usage_counter_offset()));
- if (CodeGenerator::CanOptimize()) {
+ if (FlowGraphCompiler::CanOptimize()) {
__ cmpq(FieldAddress(RCX, Function::usage_counter_offset()),
Immediate(FLAG_optimization_counter_threshold));
Label not_yet_hot;
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698