Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index f2fbb270683929f68be305715b1a29900f7433f3..3513d20bd1db65d47c5b78edf6117cbb48cd7ae3 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -620,7 +620,7 @@ LInstruction* LChunkBuilder::MarkAsCall(LInstruction* instr, |
ASSERT(hinstr->next()->IsSimulate()); |
HSimulate* sim = HSimulate::cast(hinstr->next()); |
ASSERT(instruction_pending_deoptimization_environment_ == NULL); |
- ASSERT(pending_deoptimization_ast_id_ == AstNode::kNoNumber); |
+ ASSERT(pending_deoptimization_ast_id_.IsNone()); |
instruction_pending_deoptimization_environment_ = instr; |
pending_deoptimization_ast_id_ = sim->ast_id(); |
} |
@@ -854,8 +854,8 @@ LEnvironment* LChunkBuilder::CreateEnvironment( |
LEnvironment* outer = |
CreateEnvironment(hydrogen_env->outer(), argument_index_accumulator); |
- int ast_id = hydrogen_env->ast_id(); |
- ASSERT(ast_id != AstNode::kNoNumber || |
+ BailoutId ast_id = hydrogen_env->ast_id(); |
+ ASSERT(!ast_id.IsNone() || |
hydrogen_env->frame_type() != JS_FUNCTION); |
int value_count = hydrogen_env->length(); |
LEnvironment* result = new(zone()) LEnvironment( |
@@ -2134,7 +2134,7 @@ LInstruction* LChunkBuilder::DoSimulate(HSimulate* instr) { |
instruction_pending_deoptimization_environment_-> |
SetDeferredLazyDeoptimizationEnvironment(result->environment()); |
instruction_pending_deoptimization_environment_ = NULL; |
- pending_deoptimization_ast_id_ = AstNode::kNoNumber; |
+ pending_deoptimization_ast_id_ = BailoutId::None(); |
return result; |
} |