| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index 0da8fc068fcf133d3c824c325c11e80b4956cd35..961cfcdf7ccff08c7fb4753109e786fc3f4ef361 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -4427,7 +4427,8 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) {
|
| isolate->factory()->NewCode(desc, flags, masm.CodeObject());
|
| // Log the event and add the code to the builtins array.
|
| PROFILE(isolate,
|
| - CodeCreateEvent(Logger::BUILTIN_TAG, *code, functions[i].s_name));
|
| + CodeCreateEvent(Logger::BUILTIN_TAG, AbstractCode::cast(*code),
|
| + functions[i].s_name));
|
| builtins_[i] = *code;
|
| code->set_builtin_index(i);
|
| #ifdef ENABLE_DISASSEMBLER
|
|
|