| Index: src/lithium.cc
|
| diff --git a/src/lithium.cc b/src/lithium.cc
|
| index e9991cb81e0c777002556b78af3e66c20dc63588..88e472479f87ec3f478a7254831fe23bebb9929c 100644
|
| --- a/src/lithium.cc
|
| +++ b/src/lithium.cc
|
| @@ -458,7 +458,9 @@ void LChunk::RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const {
|
| AddWeakObjectToCodeDependency(isolate(), objects.at(i), code);
|
| }
|
| if (FLAG_enable_ool_constant_pool) {
|
| - code->constant_pool()->set_weak_object_state(
|
| + ConstantPoolArray* constant_pool =
|
| + reinterpret_cast<ConstantPoolArray*>(code->constant_pool());
|
| + constant_pool->set_weak_object_state(
|
| ConstantPoolArray::WEAK_OBJECTS_IN_OPTIMIZED_CODE);
|
| }
|
| code->set_can_have_weak_objects(true);
|
|
|