| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 1f9714357e2f7f63c737c2e8f0b1d112ae81af9d..afd5dc3b0592311626b88eab518d1445b86907b3 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -791,7 +791,7 @@ LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) {
|
| LInstruction* LChunkBuilder::SetInstructionPendingDeoptimizationEnvironment(
|
| LInstruction* instr, int ast_id) {
|
| ASSERT(instructions_pending_deoptimization_environment_ == NULL);
|
| - ASSERT(pending_deoptimization_ast_id_ == AstNode::kNoNumber);
|
| + ASSERT(pending_deoptimization_ast_id_ == kNoAstId);
|
| instructions_pending_deoptimization_environment_ = instr;
|
| pending_deoptimization_ast_id_ = ast_id;
|
| return instr;
|
| @@ -800,7 +800,7 @@ LInstruction* LChunkBuilder::SetInstructionPendingDeoptimizationEnvironment(
|
|
|
| void LChunkBuilder::ClearInstructionPendingDeoptimizationEnvironment() {
|
| instructions_pending_deoptimization_environment_ = NULL;
|
| - pending_deoptimization_ast_id_ = AstNode::kNoNumber;
|
| + pending_deoptimization_ast_id_ = kNoAstId;
|
| }
|
|
|
|
|
| @@ -1129,8 +1129,8 @@ LEnvironment* LChunkBuilder::CreateEnvironment(HEnvironment* hydrogen_env) {
|
| if (hydrogen_env == NULL) return NULL;
|
|
|
| LEnvironment* outer = CreateEnvironment(hydrogen_env->outer());
|
| - int ast_id = hydrogen_env->ast_id();
|
| - ASSERT(ast_id != AstNode::kNoNumber);
|
| + AstId ast_id = hydrogen_env->ast_id();
|
| + ASSERT(ast_id != kNoAstId);
|
| int value_count = hydrogen_env->values()->length();
|
| LEnvironment* result = new LEnvironment(hydrogen_env->closure(),
|
| ast_id,
|
|
|