Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 7716eae8a4b2fc492129c530b6e76712f9951c31..c9ac471a00bff72173802ec73bb3f8059a4e687a 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -67,7 +67,6 @@ void LCodeGen::FinishCode(Handle<Code> code) { |
DCHECK(is_done()); |
code->set_stack_slots(GetStackSlotCount()); |
code->set_safepoint_table_offset(safepoints_.GetCodeOffset()); |
- if (code->is_optimized_code()) RegisterWeakObjectsInOptimizedCode(code); |
PopulateDeoptimizationData(code); |
} |