Index: src/lithium.cc |
diff --git a/src/lithium.cc b/src/lithium.cc |
index 53ed919f2fb21419e9fa07595523550310656ca6..0e0726c92f3a27c5a12aa0c1a77ade0a9295ab36 100644 |
--- a/src/lithium.cc |
+++ b/src/lithium.cc |
@@ -456,10 +456,6 @@ void LChunk::RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const { |
for (int i = 0; i < objects.length(); i++) { |
AddWeakObjectToCodeDependency(isolate(), objects.at(i), code); |
} |
- if (FLAG_enable_ool_constant_pool) { |
- code->constant_pool()->set_weak_object_state( |
- ConstantPoolArray::WEAK_OBJECTS_IN_OPTIMIZED_CODE); |
- } |
code->set_can_have_weak_objects(true); |
} |