BUG=none
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
24178003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
for (HashMap::Entry* entry = strings_.Start();
entry != NULL;
entry = strings_.Next(entry)) {
- sorted_strings[reinterpret_cast<uintptr_t>(entry->value)] =
- reinterpret_cast<const unsigned char*>(entry->key);
+ int index = static_cast<int>(reinterpret_cast<uintptr_t>(entry->value));
+ sorted_strings[index] = reinterpret_cast<const unsigned char*>(entry->key);
}
writer_->AddString("\"<dummy>\"");
for (int i = 1; i < sorted_strings.length(); ++i) {