summaryrefslogtreecommitdiff
path: root/deps/v8/src/mips/simulator-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/mips/simulator-mips.h')
-rw-r--r--deps/v8/src/mips/simulator-mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/mips/simulator-mips.h b/deps/v8/src/mips/simulator-mips.h
index d505f92c9c..59ec3af7e3 100644
--- a/deps/v8/src/mips/simulator-mips.h
+++ b/deps/v8/src/mips/simulator-mips.h
@@ -447,7 +447,7 @@ class Simulator : public SimulatorBase {
// Compact branch guard.
void CheckForbiddenSlot(int32_t current_pc) {
Instruction* instr_after_compact_branch =
- reinterpret_cast<Instruction*>(current_pc + Instruction::kInstrSize);
+ reinterpret_cast<Instruction*>(current_pc + kInstrSize);
if (instr_after_compact_branch->IsForbiddenAfterBranch()) {
FATAL(
"Error: Unexpected instruction 0x%08x immediately after a "