Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 8dd58a2ae6d26efcfa8245a3da6320b3cb5bacb3..97d3a441f11b04c9e70ac58493d672081f4942b6 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -582,13 +582,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())); |