Commit 588d0394 authored by ricow@chromium.org's avatar ricow@chromium.org

Fix win64 debug mode compilation

Review URL: http://codereview.chromium.org/7482042

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8757 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent dfb19555
...@@ -88,7 +88,8 @@ void IC::TraceIC(const char* type, ...@@ -88,7 +88,8 @@ void IC::TraceIC(const char* type,
// function and the original code. // function and the original code.
JSFunction* function = JSFunction::cast(frame->function()); JSFunction* function = JSFunction::cast(frame->function());
function->PrintName(); function->PrintName();
int code_offset = address() - js_code->instruction_start(); int code_offset =
static_cast<int>(address() - js_code->instruction_start());
PrintF("+%d", code_offset); PrintF("+%d", code_offset);
} else { } else {
PrintF("<unknown>"); PrintF("<unknown>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment