diff options
Diffstat (limited to 'deps/v8/test/cctest/test-macro-assembler-mips.cc')
-rw-r--r-- | deps/v8/test/cctest/test-macro-assembler-mips.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/v8/test/cctest/test-macro-assembler-mips.cc b/deps/v8/test/cctest/test-macro-assembler-mips.cc index accee77f344..18404d66293 100644 --- a/deps/v8/test/cctest/test-macro-assembler-mips.cc +++ b/deps/v8/test/cctest/test-macro-assembler-mips.cc @@ -28,7 +28,7 @@ #include <stdlib.h> #include <iostream> // NOLINT(readability/streams) -#include "src/api.h" +#include "src/api-inl.h" #include "src/base/utils/random-number-generator.h" #include "src/macro-assembler.h" #include "src/mips/macro-assembler-mips.h" @@ -236,7 +236,7 @@ TEST(jump_tables5) { { __ BlockTrampolinePoolFor(kNumCases + 6 + 1); PredictableCodeSizeScope predictable( - masm, kNumCases * kPointerSize + ((6 + 1) * Assembler::kInstrSize)); + masm, kNumCases * kPointerSize + ((6 + 1) * kInstrSize)); __ addiupc(at, 6 + 1); __ Lsa(at, at, a0, 2); @@ -294,7 +294,6 @@ TEST(jump_tables6) { const int kSwitchTableCases = 40; - const int kInstrSize = Assembler::kInstrSize; const int kMaxBranchOffset = Assembler::kMaxBranchOffset; const int kTrampolineSlotsSize = Assembler::kTrampolineSlotsSize; const int kSwitchTablePrologueSize = MacroAssembler::kSwitchTablePrologueSize; |