Reviewers: Kasper Lund,
Description:
Fix win64 compilation (using static_cast)
Please review this at http://codereview.chromium.org/3225011/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/frames.cc
Index: src/frames.cc
===================================================================
--- src/frames.cc (revision 5380)
+++ src/frames.cc (working copy)
@@ -316,7 +316,7 @@
Code* holder) {
Address pc = *pc_address;
ASSERT(holder->contains(pc));
- unsigned pc_offset = pc - holder->instruction_start();
+ unsigned pc_offset = static_cast<unsigned>(pc -
holder->instruction_start());
Object* code = holder;
v->VisitPointer(&code);
if (code != holder) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev