Fix variable name when build with oprofile agent.
BUG=572 Review URL: http://codereview.chromium.org/549020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3579 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c1cafb7cf1
commit
55b73d9415
@ -538,7 +538,7 @@ Handle<JSFunction> Compiler::BuildBoilerplate(FunctionLiteral* literal,
|
||||
LOG(CodeCreateEvent(Logger::FUNCTION_TAG, *code, *literal->name()));
|
||||
|
||||
#ifdef ENABLE_OPROFILE_AGENT
|
||||
OProfileAgent::CreateNativeCodeRegion(*node->name(),
|
||||
OProfileAgent::CreateNativeCodeRegion(*literal->name(),
|
||||
code->instruction_start(),
|
||||
code->instruction_size());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user