| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index f94ba83b65eefd3dc2afc914588d266d741fdb18..0c6109a2440b622d5496b9e4d6063d4b274713e7 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -297,6 +297,9 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) {
|
| code->set_stack_check_table_offset(table_offset);
|
| CodeGenerator::PrintCode(code, info);
|
| info->SetCode(code); // May be an empty handle.
|
| + if (!code.is_null()) {
|
| + isolate->runtime_profiler()->NotifyCodeGenerated(code->instruction_size());
|
| + }
|
| #ifdef ENABLE_GDB_JIT_INTERFACE
|
| if (FLAG_gdbjit && !code.is_null()) {
|
| GDBJITLineInfo* lineinfo =
|
|
|