| Index: src/heap/mark-compact.cc
|
| diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
|
| index 9f5ac52028ae2bda5a16c8cb8d2c62adb03a821c..f30c2df8e77fb2205e5c7fcf8a8f7c3a0c6b3977 100644
|
| --- a/src/heap/mark-compact.cc
|
| +++ b/src/heap/mark-compact.cc
|
| @@ -1013,8 +1013,8 @@ void CodeFlusher::ProcessOptimizedCodeMaps() {
|
| STATIC_ASSERT(SharedFunctionInfo::kEntryLength == 4);
|
| Context* context =
|
| Context::cast(code_map->get(i + SharedFunctionInfo::kContextOffset));
|
| - Code* code =
|
| - Code::cast(code_map->get(i + SharedFunctionInfo::kCachedCodeOffset));
|
| + HeapObject* code = HeapObject::cast(
|
| + code_map->get(i + SharedFunctionInfo::kCachedCodeOffset));
|
| FixedArray* literals = FixedArray::cast(
|
| code_map->get(i + SharedFunctionInfo::kLiteralsOffset));
|
| Smi* ast_id =
|
|
|