Revision: 14562
Author:   [email protected]
Date:     Tue May  7 00:23:39 2013
Log:      remove use of WriteAscii for vtune

[email protected]
BUG=

Review URL: https://codereview.chromium.org/14900003
http://code.google.com/p/v8/source/detail?r=14562

Modified:
 /branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc

=======================================
--- /branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc Fri Apr 12 05:48:27 2013 +++ /branches/bleeding_edge/src/third_party/vtune/vtune-jit.cc Tue May 7 00:23:39 2013
@@ -194,8 +194,8 @@
          if ((*script->GetScriptName())->IsString()) {
             Handle<String> script_name =
                 Handle<String>(String::Cast(*script->GetScriptName()));
-            temp_file_name = new char[script_name->Length() + 1];
-            script_name->WriteAscii(temp_file_name);
+            temp_file_name = new char[script_name->Utf8Length() + 1];
+            script_name->WriteUtf8(temp_file_name);
             jmethod.source_file_name = temp_file_name;
           }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to