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
This commit is contained in:
parent
dfb195550f
commit
588d039433
@ -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>");
|
||||||
|
Loading…
Reference in New Issue
Block a user