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

Side by Side Diff: src/mips/simulator-mips.h

Issue 314723002: Fixed lint errors caused by "runtime/references" rule and the rule itself is restored. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/mips/simulator-mips.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 5
6 // Declares a Simulator for MIPS instructions if we are not generating a native 6 // Declares a Simulator for MIPS instructions if we are not generating a native
7 // MIPS binary. This Simulator allows us to run and debug MIPS code generation 7 // MIPS binary. This Simulator allows us to run and debug MIPS code generation
8 // on regular desktop machines. 8 // on regular desktop machines.
9 // V8 calls into generated code by "calling" the CALL_GENERATED_CODE macro, 9 // V8 calls into generated code by "calling" the CALL_GENERATED_CODE macro,
10 // which will start execution in the Simulator or forwards to the real entry 10 // which will start execution in the Simulator or forwards to the real entry
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 inline int32_t GetDoubleLOW(double* addr); 256 inline int32_t GetDoubleLOW(double* addr);
257 // Set Double Higher / Lower word. 257 // Set Double Higher / Lower word.
258 inline int32_t SetDoubleHIW(double* addr); 258 inline int32_t SetDoubleHIW(double* addr);
259 inline int32_t SetDoubleLOW(double* addr); 259 inline int32_t SetDoubleLOW(double* addr);
260 260
261 // Executing is handled based on the instruction type. 261 // Executing is handled based on the instruction type.
262 void DecodeTypeRegister(Instruction* instr); 262 void DecodeTypeRegister(Instruction* instr);
263 263
264 // Helper function for DecodeTypeRegister. 264 // Helper function for DecodeTypeRegister.
265 void ConfigureTypeRegister(Instruction* instr, 265 void ConfigureTypeRegister(Instruction* instr,
266 int32_t& alu_out, 266 int32_t* alu_out,
267 int64_t& i64hilo, 267 int64_t* i64hilo,
268 uint64_t& u64hilo, 268 uint64_t* u64hilo,
269 int32_t& next_pc, 269 int32_t* next_pc,
270 int32_t& return_addr_reg, 270 int32_t* return_addr_reg,
271 bool& do_interrupt); 271 bool* do_interrupt);
272 272
273 void DecodeTypeImmediate(Instruction* instr); 273 void DecodeTypeImmediate(Instruction* instr);
274 void DecodeTypeJump(Instruction* instr); 274 void DecodeTypeJump(Instruction* instr);
275 275
276 // Used for breakpoints and traps. 276 // Used for breakpoints and traps.
277 void SoftwareInterrupt(Instruction* instr); 277 void SoftwareInterrupt(Instruction* instr);
278 278
279 // Stop helper functions. 279 // Stop helper functions.
280 bool IsWatchpoint(uint32_t code); 280 bool IsWatchpoint(uint32_t code);
281 void PrintWatchpoint(uint32_t code); 281 void PrintWatchpoint(uint32_t code);
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 static inline void UnregisterCTryCatch() { 408 static inline void UnregisterCTryCatch() {
409 Simulator::current(Isolate::Current())->PopAddress(); 409 Simulator::current(Isolate::Current())->PopAddress();
410 } 410 }
411 }; 411 };
412 412
413 } } // namespace v8::internal 413 } } // namespace v8::internal
414 414
415 #endif // !defined(USE_SIMULATOR) 415 #endif // !defined(USE_SIMULATOR)
416 #endif // V8_MIPS_SIMULATOR_MIPS_H_ 416 #endif // V8_MIPS_SIMULATOR_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/mips/simulator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698