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

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

Issue 1235883004: MIPS64: Fix BlockTrampolinePoolFor() to emit trampoline before blocking, if needed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/mips64/assembler-mips64-inl.h ('k') | test/cctest/test-macro-assembler-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-mips64.cc
diff --git a/test/cctest/test-assembler-mips64.cc b/test/cctest/test-assembler-mips64.cc
index c4db5b52c14222738919385fc8a51056ab9a4ca6..bb7b05ca768c09b897b04ce0e881e7c9f6416a5f 100644
--- a/test/cctest/test-assembler-mips64.cc
+++ b/test/cctest/test-assembler-mips64.cc
@@ -3082,6 +3082,7 @@ TEST(jump_tables1) {
Label done;
{
+ __ BlockTrampolinePoolFor(kNumCases * 2 + 7);
PredictableCodeSizeScope predictable(
&assm, (kNumCases * 2 + 7) * Assembler::kInstrSize);
Label here;
@@ -3162,6 +3163,7 @@ TEST(jump_tables2) {
}
__ bind(&dispatch);
{
+ __ BlockTrampolinePoolFor(kNumCases * 2 + 7);
PredictableCodeSizeScope predictable(
&assm, (kNumCases * 2 + 7) * Assembler::kInstrSize);
Label here;
@@ -3244,6 +3246,7 @@ TEST(jump_tables3) {
}
__ bind(&dispatch);
{
+ __ BlockTrampolinePoolFor(kNumCases * 2 + 7);
PredictableCodeSizeScope predictable(
&assm, (kNumCases * 2 + 7) * Assembler::kInstrSize);
Label here;
« no previous file with comments | « src/mips64/assembler-mips64-inl.h ('k') | test/cctest/test-macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698