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

Unified Diff: runtime/vm/assembler_macros_arm.cc

Issue 12381034: Second codegen test passing on ARM (simulated). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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_arm.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_macros_arm.cc
===================================================================
--- runtime/vm/assembler_macros_arm.cc (revision 19404)
+++ runtime/vm/assembler_macros_arm.cc (working copy)
@@ -40,9 +40,9 @@
// Setup pool pointer for this dart function.
const intptr_t object_pool_pc_dist =
- Instr::kPCReadOffset - assembler->CodeSize() -
- Instructions::HeaderSize() + Instructions::object_pool_offset();
- __ ldr(PP, Address(PC, object_pool_pc_dist));
+ Instructions::HeaderSize() - Instructions::object_pool_offset() +
+ assembler->CodeSize() + Instr::kPCReadOffset;
+ __ ldr(PP, Address(PC, -object_pool_pc_dist));
// Reserve space for locals.
__ AddImmediate(SP, -frame_size);
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698