| Index: src/lithium-codegen.cc
|
| diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc
|
| index be0ff8371afa51ec664d61a3056d2da13ae7ff79..1c7e010fc7402823f08ed0207df4aa1bb88ca78d 100644
|
| --- a/src/lithium-codegen.cc
|
| +++ b/src/lithium-codegen.cc
|
| @@ -176,6 +176,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
|
|
|