| Index: src/third_party/vtune/vtune-jit.cc
|
| ===================================================================
|
| --- src/third_party/vtune/vtune-jit.cc (revision 15223)
|
| +++ src/third_party/vtune/vtune-jit.cc (working copy)
|
| @@ -192,8 +192,7 @@
|
| if (*script != NULL) {
|
| // Get the source file name and set it to jmethod.source_file_name
|
| if ((*script->GetScriptName())->IsString()) {
|
| - Handle<String> script_name =
|
| - Handle<String>(String::Cast(*script->GetScriptName()));
|
| + Handle<String> script_name = script->GetScriptName()->ToString();
|
| temp_file_name = new char[script_name->Utf8Length() + 1];
|
| script_name->WriteUtf8(temp_file_name);
|
| jmethod.source_file_name = temp_file_name;
|
|
|