Reviewers: Dmitry Lomov (chromium), yurys,

Message:
Committed patchset #1 manually as r19454 (tree was closed).

Description:
Fix compile on Windows

[email protected],[email protected]
LOG=N

Committed: https://code.google.com/p/v8/source/detail?r=19454

Please review this at https://codereview.chromium.org/170543002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -1 lines):
  M src/heap-snapshot-generator.cc


Index: src/heap-snapshot-generator.cc
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
index 220eb62fb2f11b0a3e1007378168fef091081d88..b67aa0f3764ad1c190243c98ec4921c2d1c6454d 100644
--- a/src/heap-snapshot-generator.cc
+++ b/src/heap-snapshot-generator.cc
@@ -908,7 +908,8 @@ HeapEntry* V8HeapExplorer::AddEntry(Address address,
                                     HeapEntry::Type type,
                                     const char* name,
                                     size_t size) {
- SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(address, size);
+  SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(
+      address, static_cast<unsigned int>(size));
   return snapshot_->AddEntry(type, name, object_id, size);
 }



--
--
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