Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 90244f1c2119ccf8fc20d828ecfcf0d6afd42ade..83164b541f0f8856d43f31e779a5250a77165274 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -527,7 +527,8 @@ void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) { |
Handle<DeoptimizationInputData> data = |
Factory::NewDeoptimizationInputData(length, TENURED); |
- data->SetTranslationByteArray(*translations_.CreateByteArray()); |
+ Handle<ByteArray> translations = translations_.CreateByteArray(); |
+ data->SetTranslationByteArray(*translations); |
data->SetInlinedFunctionCount(Smi::FromInt(inlined_function_count_)); |
Handle<FixedArray> literals = |