| Index: src/lithium-codegen.cc
|
| diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc
|
| index 1ee23947426d0ce60c69ca26f35098ae206d8b5f..1fbb2516e8027d335d0821dfcf231c884ae73e38 100644
|
| --- a/src/lithium-codegen.cc
|
| +++ b/src/lithium-codegen.cc
|
| @@ -200,6 +200,10 @@ void LCodeGenBase::RegisterWeakObjectsInOptimizedCode(Handle<Code> code) {
|
| }
|
| }
|
| }
|
| + if (FLAG_enable_ool_constant_pool) {
|
| + code->constant_pool()->set_weak_object_state(
|
| + ConstantPoolArray::WEAK_OBJECTS_IN_OPTIMIZED_CODE);
|
| + }
|
| #ifdef VERIFY_HEAP
|
| // This disables verification of weak embedded objects after full GC.
|
| // AddDependentCode can cause a GC, which would observe the state where
|
|
|