| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index b56beb8d524bf449d67bc9bf34705e586f97727a..346ef7517239f5650e30ed06e79a44f3d5f96641 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -82,7 +82,8 @@ void CodeStub::RecordCodeGeneration(Handle<Code> code) {
|
| std::ostringstream os;
|
| os << *this;
|
| PROFILE(isolate(),
|
| - CodeCreateEvent(Logger::STUB_TAG, *code, os.str().c_str()));
|
| + CodeCreateEvent(Logger::STUB_TAG, AbstractCode::cast(*code),
|
| + os.str().c_str()));
|
| Counters* counters = isolate()->counters();
|
| counters->total_stubs_code_size()->Increment(code->instruction_size());
|
| #ifdef DEBUG
|
|
|