Permalink
Browse files

ARM: Fix register name in AllocateAsciiConsString.

BUG=
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/15024004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@14601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
  • Loading branch information...
1 parent c269c11 commit 81caa791335a2cf34a48ed90c195466ac8f436ff plind44@gmail.com committed May 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/arm/macro-assembler-arm.cc
@@ -1939,7 +1939,7 @@ void MacroAssembler::AllocateAsciiConsString(Register result,
ExternalReference high_promotion_mode = ExternalReference::
new_space_high_promotion_mode_active_address(isolate());
mov(scratch1, Operand(high_promotion_mode));
- ldr(scratch1, MemOperand(r4, 0));
+ ldr(scratch1, MemOperand(scratch1, 0));
cmp(scratch1, Operand::Zero());
b(eq, &allocate_new_space);

0 comments on commit 81caa79

Please sign in to comment.