Index: src/third_party/vtune/vtune-jit.cc |
diff --git a/src/third_party/vtune/vtune-jit.cc b/src/third_party/vtune/vtune-jit.cc |
index 023dd1864be03bdef449e14d89e086da00dd76a2..c39c497b6b299bf569995c7a10c38dd271381c5b 100644 |
--- a/src/third_party/vtune/vtune-jit.cc |
+++ b/src/third_party/vtune/vtune-jit.cc |
@@ -192,13 +192,13 @@ void VTUNEJITInterface::event_handler(const v8::JitCodeEvent* event) { |
jmethod.method_size = static_cast<unsigned int>(event->code_len); |
jmethod.method_name = temp_method_name; |
- Handle<Script> script = event->script; |
+ Handle<UnboundScript> script = event->script; |
if (*script != NULL) { |
// Get the source file name and set it to jmethod.source_file_name |
- if ((*script->GetUnboundScript()->GetScriptName())->IsString()) { |
+ if ((*script->GetScriptName())->IsString()) { |
Handle<String> script_name = |
- script->GetUnboundScript()->GetScriptName()->ToString(); |
+ 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; |
@@ -225,7 +225,7 @@ void VTUNEJITInterface::event_handler(const v8::JitCodeEvent* event) { |
jmethod.line_number_table[index].Offset = |
static_cast<unsigned int>(Iter->pc_); |
jmethod.line_number_table[index++].LineNumber = |
- script->GetUnboundScript()->GetLineNumber(Iter->pos_)+1; |
+ script->GetLineNumber(Iter->pos_)+1; |
} |
GetEntries()->erase(event->code_start); |
} |