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

Unified Diff: src/arm/ic-arm.cc

Issue 3018015: Fixed a couple of issues with store inlining on arm.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 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: src/arm/ic-arm.cc
===================================================================
--- src/arm/ic-arm.cc (revision 5120)
+++ src/arm/ic-arm.cc (working copy)
@@ -1016,7 +1016,7 @@
// Patch the offset in the add instruction that is part of the
// write barrier.
Address add_offset_instr_address =
- str_property_instr_address + 4 * Assembler::kInstrSize;
+ str_property_instr_address + Assembler::kInstrSize;
Instr add_offset_instr = Assembler::instr_at(add_offset_instr_address);
ASSERT(Assembler::IsAddRegisterImmediate(add_offset_instr));
add_offset_instr = Assembler::SetAddRegisterImmediateOffset(
@@ -1024,7 +1024,7 @@
Assembler::instr_at_put(add_offset_instr_address, add_offset_instr);
// Indicate that code has changed.
- CPU::FlushICache(str_property_instr_address, 5 * Assembler::kInstrSize);
+ CPU::FlushICache(str_property_instr_address, 2 * Assembler::kInstrSize);
}
// Patch the map check.
« src/arm/codegen-arm.h ('K') | « src/arm/codegen-arm.cc ('k') | src/v8-counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698