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

Side by Side Diff: src/mips64/simulator-mips64.cc

Issue 2496913002: Fix more -Wsign-compare warnings in heap, mips, base, etc. (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/heap/spaces.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits.h> 5 #include <limits.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <cmath> 8 #include <cmath>
9 9
10 #if V8_TARGET_ARCH_MIPS64 10 #if V8_TARGET_ARCH_MIPS64
(...skipping 4861 matching lines...) Expand 10 before | Expand all | Expand 10 after
4872 icount_++; 4872 icount_++;
4873 InstructionDecode(instr); 4873 InstructionDecode(instr);
4874 program_counter = get_pc(); 4874 program_counter = get_pc();
4875 } 4875 }
4876 } else { 4876 } else {
4877 // FLAG_stop_sim_at is at the non-default value. Stop in the debugger when 4877 // FLAG_stop_sim_at is at the non-default value. Stop in the debugger when
4878 // we reach the particular instuction count. 4878 // we reach the particular instuction count.
4879 while (program_counter != end_sim_pc) { 4879 while (program_counter != end_sim_pc) {
4880 Instruction* instr = reinterpret_cast<Instruction*>(program_counter); 4880 Instruction* instr = reinterpret_cast<Instruction*>(program_counter);
4881 icount_++; 4881 icount_++;
4882 if (icount_ == static_cast<uint64_t>(::v8::internal::FLAG_stop_sim_at)) { 4882 if (icount_ == static_cast<int64_t>(::v8::internal::FLAG_stop_sim_at)) {
4883 MipsDebugger dbg(this); 4883 MipsDebugger dbg(this);
4884 dbg.Debug(); 4884 dbg.Debug();
4885 } else { 4885 } else {
4886 InstructionDecode(instr); 4886 InstructionDecode(instr);
4887 } 4887 }
4888 program_counter = get_pc(); 4888 program_counter = get_pc();
4889 } 4889 }
4890 } 4890 }
4891 } 4891 }
4892 4892
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
5052 } 5052 }
5053 5053
5054 5054
5055 #undef UNSUPPORTED 5055 #undef UNSUPPORTED
5056 } // namespace internal 5056 } // namespace internal
5057 } // namespace v8 5057 } // namespace v8
5058 5058
5059 #endif // USE_SIMULATOR 5059 #endif // USE_SIMULATOR
5060 5060
5061 #endif // V8_TARGET_ARCH_MIPS64 5061 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698