Reviewers: Søren Gjesse,

Description:
Fix variable name when build with oprofile agent.

BUG=572

Please review this at http://codereview.chromium.org/549020

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/compiler.cc


Index: src/compiler.cc
===================================================================
--- src/compiler.cc     (revision 3577)
+++ src/compiler.cc     (working copy)
@@ -538,7 +538,7 @@
     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


-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to