Index: test/cctest/test-assembler-arm.cc |
diff --git a/test/cctest/test-assembler-arm.cc b/test/cctest/test-assembler-arm.cc |
index 06b8d81be4dc4b95de817786ca749b2bb543acdd..8f93150fad8ee33f4f298062273918cadb0ba04c 100644 |
--- a/test/cctest/test-assembler-arm.cc |
+++ b/test/cctest/test-assembler-arm.cc |
@@ -2027,4 +2027,17 @@ TEST(regress4292_blx) { |
__ bind(&end); |
} |
+ |
+TEST(regress4292_CheckConstPool) { |
+ CcTest::InitializeVM(); |
+ Isolate* isolate = CcTest::i_isolate(); |
+ HandleScope scope(isolate); |
+ |
+ Assembler assm(isolate, NULL, 0); |
+ __ mov(r0, Operand(isolate->factory()->infinity_value())); |
+ __ BlockConstPoolFor(1019); |
+ for (int i = 0; i < 1019; ++i) __ nop(); |
+ __ vldr(d0, MemOperand(r0, 0)); |
+} |
+ |
#undef __ |