Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 8869a3e98d1b9d9fe89836d731b6e59ac3b94af2..e93c59754491d341bebde9fbaa445339768768d6 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -81,7 +81,7 @@ bool LCodeGen::GenerateCode() { |
dynamic_frame_alignment_ = (chunk()->num_double_slots() > 2 && |
!chunk()->graph()->is_recursive()) || |
- info()->osr_ast_id() != AstNode::kNoNumber; |
+ !info()->osr_ast_id().IsNone(); |
return GeneratePrologue() && |
GenerateBody() && |
@@ -678,13 +678,13 @@ void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { |
} |
data->SetLiteralArray(*literals); |
- data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id())); |
+ data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id().ToInt())); |
data->SetOsrPcOffset(Smi::FromInt(osr_pc_offset_)); |
// Populate the deoptimization entries. |
for (int i = 0; i < length; i++) { |
LEnvironment* env = deoptimizations_[i]; |
- data->SetAstId(i, Smi::FromInt(env->ast_id())); |
+ data->SetAstId(i, env->ast_id()); |
data->SetTranslationIndex(i, Smi::FromInt(env->translation_index())); |
data->SetArgumentsStackHeight(i, |
Smi::FromInt(env->arguments_stack_height())); |