Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 043582b17eab51271df93402fd494efc22cba6bc..8b6c0169cac4caadab141cfc7a5ef2ec06b49cad 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -535,7 +535,7 @@ void CodeGenerator::PopulateDeoptimizationData(Handle<Code> code_object) { |
if (info->has_shared_info()) { |
data->SetSharedFunctionInfo(*info->shared_info()); |
} else { |
- data->SetSharedFunctionInfo(Smi::FromInt(0)); |
+ data->SetSharedFunctionInfo(Smi::kZero); |
} |
Handle<FixedArray> literals = isolate()->factory()->NewFixedArray( |
@@ -565,7 +565,7 @@ void CodeGenerator::PopulateDeoptimizationData(Handle<Code> code_object) { |
CHECK(deoptimization_states_[i]); |
data->SetTranslationIndex( |
i, Smi::FromInt(deoptimization_states_[i]->translation_id())); |
- data->SetArgumentsStackHeight(i, Smi::FromInt(0)); |
+ data->SetArgumentsStackHeight(i, Smi::kZero); |
data->SetPc(i, Smi::FromInt(deoptimization_state->pc_offset())); |
} |