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

Unified Diff: src/deoptimizer.cc

Issue 9284017: Fix Win64 compilation failure introduced by r10483. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index 05d8d28917332c8dd4f3892c5d8e9510032af199..56ff4549da25b5e60f60ab0709172cc1d9aad821 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -632,7 +632,7 @@ void Deoptimizer::MaterializeHeapNumbersForDebuggerInspectableFrame(
Handle<Object> num = isolate_->factory()->NewNumber(d.value());
int index = (info->parameters_count() - 1) -
- (slot - parameters_top) / kPointerSize;
+ static_cast<int>(slot - parameters_top) / kPointerSize;
if (FLAG_trace_deopt) {
PrintF("Materializing a new heap number %p [%e] in slot %p"
@@ -648,7 +648,7 @@ void Deoptimizer::MaterializeHeapNumbersForDebuggerInspectableFrame(
Handle<Object> num = isolate_->factory()->NewNumber(d.value());
int index = info->expression_count() - 1 -
- (slot - expressions_top) / kPointerSize;
+ static_cast<int>(slot - expressions_top) / kPointerSize;
if (FLAG_trace_deopt) {
PrintF("Materializing a new heap number %p [%e] in slot %p"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698