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

Unified Diff: src/arm/deoptimizer-arm.cc

Issue 5618005: Fix ARM sim build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/deoptimizer-arm.cc
diff --git a/src/arm/deoptimizer-arm.cc b/src/arm/deoptimizer-arm.cc
index e7a669dce7e2679028570ede39ff062b9249cf21..3917d6dfb7d20061620f7c85a0e3f3c5582169be 100644
--- a/src/arm/deoptimizer-arm.cc
+++ b/src/arm/deoptimizer-arm.cc
@@ -196,7 +196,7 @@ void Deoptimizer::DoComputeFrame(TranslationIterator* iterator,
// function code and AST id of the bailout.
output_offset -= kPointerSize;
input_offset -= kPointerSize;
- uint32_t value;
+ intptr_t value;
if (is_bottommost) {
value = input_->GetFrameSlot(input_offset);
} else {
@@ -220,7 +220,7 @@ void Deoptimizer::DoComputeFrame(TranslationIterator* iterator,
value = output_[frame_index - 1]->GetFp();
}
output_frame->SetFrameSlot(output_offset, value);
- unsigned fp_value = top_address + output_offset;
+ intptr_t fp_value = top_address + output_offset;
ASSERT(!is_bottommost || input_->GetRegister(fp.code()) == fp_value);
output_frame->SetFp(fp_value);
if (is_topmost) {
@@ -235,7 +235,7 @@ void Deoptimizer::DoComputeFrame(TranslationIterator* iterator,
// optimize functions that need local contexts.
output_offset -= kPointerSize;
input_offset -= kPointerSize;
- value = reinterpret_cast<uint32_t>(function->context());
+ value = reinterpret_cast<intptr_t>(function->context());
// The context for the bottommost output frame should also agree with the
// input frame.
ASSERT(!is_bottommost || input_->GetFrameSlot(input_offset) == value);
« 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