Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1211)

Unified Diff: src/type-info.cc

Issue 5597007: Fix Win64 compilation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix linter Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-info.cc
diff --git a/src/type-info.cc b/src/type-info.cc
index f9ee47d49180c07ae8f9a573342144b8c278094f..5f6022b6f133ac8631b7b5fad28e687febd9e151 100644
--- a/src/type-info.cc
+++ b/src/type-info.cc
@@ -337,12 +337,13 @@ void TypeFeedbackOracle::CollectPositions(Code* code,
target->check_type() != RECEIVER_MAP_CHECK) continue;
if (state != MONOMORPHIC && state != MEGAMORPHIC) continue;
}
- code_positions->Add(info->pc() - code->instruction_start());
+ code_positions->Add(
+ static_cast<int>(info->pc() - code->instruction_start()));
source_positions->Add(position);
}
} else {
ASSERT(RelocInfo::IsPosition(mode));
- position = info->data();
+ position = static_cast<int>(info->data());
}
}
}
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698