Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 24b991e831a4102c9dffd412c4390658d6a3c26a..6b5785257d480f2c9c586df22f891961118b9506 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -625,7 +625,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(); |
} |
@@ -859,8 +859,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( |
@@ -2192,7 +2192,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; |
} |