Revision: 14671
Author:   [email protected]
Date:     Tue May 14 16:54:39 2013
Log:      Fix Win64 compilation after r14670

[email protected]
BUG=v8:2628

Review URL: https://codereview.chromium.org/15133007
http://code.google.com/p/v8/source/detail?r=14671

Modified:
 /branches/bleeding_edge/src/profile-generator.cc

=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Tue May 14 15:51:33 2013 +++ /branches/bleeding_edge/src/profile-generator.cc Tue May 14 16:54:39 2013
@@ -918,7 +918,7 @@
       List<OffsetRange>* ranges = pc_entry->no_frame_ranges();
       if (ranges) {
         Code* code = Code::cast(HeapObject::FromAddress(start));
-        int pc_offset = sample.pc - code->instruction_start();
+ int pc_offset = static_cast<int>(sample.pc - code->instruction_start());
         for (int i = 0; i < ranges->length(); i++) {
           OffsetRange& range = ranges->at(i);
           if (range.from <= pc_offset && pc_offset < range.to) {

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to