Index: src/s390/simulator-s390.cc |
diff --git a/src/s390/simulator-s390.cc b/src/s390/simulator-s390.cc |
index f411cc4fe76b3091b45ce44a8100b60e26eac8d7..dda51e205d87f1128776d3e0e4b9251a10a7b406 100644 |
--- a/src/s390/simulator-s390.cc |
+++ b/src/s390/simulator-s390.cc |
@@ -5682,7 +5682,7 @@ void Simulator::CallInternal(byte* entry, int reg_arg_count) { |
// Set up the non-volatile registers with a known value. To be able to check |
// that they are preserved properly across JS execution. |
- intptr_t callee_saved_value = icount_; |
+ uintptr_t callee_saved_value = icount_; |
if (reg_arg_count < 5) { |
set_register(r6, callee_saved_value + 6); |
} |
@@ -5762,7 +5762,7 @@ intptr_t Simulator::Call(byte* entry, int argument_count, ...) { |
// Remaining arguments passed on stack. |
int64_t original_stack = get_register(sp); |
// Compute position of stack on entry to generated code. |
- intptr_t entry_stack = |
+ uintptr_t entry_stack = |
(original_stack - |
(kCalleeRegisterSaveAreaSize + stack_arg_count * sizeof(intptr_t))); |
if (base::OS::ActivationFrameAlignment() != 0) { |
@@ -5798,7 +5798,7 @@ intptr_t Simulator::Call(byte* entry, int argument_count, ...) { |
// Set up the non-volatile registers with a known value. To be able to check |
// that they are preserved properly across JS execution. |
- intptr_t callee_saved_value = icount_; |
+ uintptr_t callee_saved_value = icount_; |
if (reg_arg_count < 5) { |
set_register(r6, callee_saved_value + 6); |
} |