Revision: 11447
Author: [email protected]
Date: Thu Apr 26 04:14:24 2012
Log: Add missing literal pool guards.
BUG=V8:2095
TEST=see issue
Review URL: https://chromiumcodereview.appspot.com/10233006
Patch from Rodolph Perfetta <[email protected]>.
http://code.google.com/p/v8/source/detail?r=11447
Modified:
/branches/bleeding_edge/src/arm/full-codegen-arm.cc
=======================================
--- /branches/bleeding_edge/src/arm/full-codegen-arm.cc Thu Apr 19 07:17:12
2012
+++ /branches/bleeding_edge/src/arm/full-codegen-arm.cc Thu Apr 26 04:14:24
2012
@@ -70,6 +70,7 @@
// the inlined smi code.
void EmitJumpIfNotSmi(Register reg, Label* target) {
ASSERT(!patch_site_.is_bound() && !info_emitted_);
+ Assembler::BlockConstPoolScope block_const_pool(masm_);
__ bind(&patch_site_);
__ cmp(reg, Operand(reg));
// Don't use b(al, ...) as that might emit the constant pool right
after the
@@ -82,6 +83,7 @@
// the inlined smi code.
void EmitJumpIfSmi(Register reg, Label* target) {
ASSERT(!patch_site_.is_bound() && !info_emitted_);
+ Assembler::BlockConstPoolScope block_const_pool(masm_);
__ bind(&patch_site_);
__ cmp(reg, Operand(reg));
__ b(ne, target); // Never taken before patched.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev