Revision: 3579
Author: [email protected]
Date: Tue Jan 12 00:31:00 2010
Log: Fix variable name when build with oprofile agent.

BUG=572
Review URL: http://codereview.chromium.org/549020
http://code.google.com/p/v8/source/detail?r=3579

Modified:
 /branches/bleeding_edge/src/compiler.cc

=======================================
--- /branches/bleeding_edge/src/compiler.cc     Mon Jan  4 05:56:31 2010
+++ /branches/bleeding_edge/src/compiler.cc     Tue Jan 12 00:31:00 2010
@@ -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