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

Unified Diff: runtime/vm/flow_graph_compiler_arm64.cc

Issue 328893002: Begins removing intptr_t from raw object fields. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_arm64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_arm64.cc (revision 37281)
+++ runtime/vm/flow_graph_compiler_arm64.cc (working copy)
@@ -974,7 +974,7 @@
intptr_t threshold = FLAG_optimization_counter_threshold;
__ LoadFieldFromOffset(
- R7, function_reg, Function::usage_counter_offset(), new_pp);
+ R7, function_reg, Function::usage_counter_offset(), new_pp, kWord);
if (is_optimizing()) {
// Reoptimization of an optimized function is triggered by counting in
// IC stubs, but not at the entry of the function.
@@ -982,7 +982,7 @@
} else {
__ add(R7, R7, Operand(1));
__ StoreFieldToOffset(
- R7, function_reg, Function::usage_counter_offset(), new_pp);
+ R7, function_reg, Function::usage_counter_offset(), new_pp, kWord);
}
__ CompareImmediate(R7, threshold, new_pp);
ASSERT(function_reg == R6);
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698