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

Unified Diff: test/cctest/test-assembler-arm.cc

Issue 1224243002: [arm] Don't call branch_offset within CheckConstPool. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cctest repro Created 5 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
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 __
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698