OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 // Executing is handled based on the instruction type. | 283 // Executing is handled based on the instruction type. |
284 void DecodeTypeRegister(Instruction* instr); | 284 void DecodeTypeRegister(Instruction* instr); |
285 | 285 |
286 // Helper function for DecodeTypeRegister. | 286 // Helper function for DecodeTypeRegister. |
287 void ConfigureTypeRegister(Instruction* instr, | 287 void ConfigureTypeRegister(Instruction* instr, |
288 int32_t& alu_out, | 288 int32_t& alu_out, |
289 int64_t& i64hilo, | 289 int64_t& i64hilo, |
290 uint64_t& u64hilo, | 290 uint64_t& u64hilo, |
291 int32_t& next_pc, | 291 int32_t& next_pc, |
| 292 int32_t& return_addr_reg, |
292 bool& do_interrupt); | 293 bool& do_interrupt); |
293 | 294 |
294 void DecodeTypeImmediate(Instruction* instr); | 295 void DecodeTypeImmediate(Instruction* instr); |
295 void DecodeTypeJump(Instruction* instr); | 296 void DecodeTypeJump(Instruction* instr); |
296 | 297 |
297 // Used for breakpoints and traps. | 298 // Used for breakpoints and traps. |
298 void SoftwareInterrupt(Instruction* instr); | 299 void SoftwareInterrupt(Instruction* instr); |
299 | 300 |
300 // Stop helper functions. | 301 // Stop helper functions. |
301 bool IsWatchpoint(uint32_t code); | 302 bool IsWatchpoint(uint32_t code); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 | 433 |
433 static inline void UnregisterCTryCatch() { | 434 static inline void UnregisterCTryCatch() { |
434 Simulator::current(Isolate::Current())->PopAddress(); | 435 Simulator::current(Isolate::Current())->PopAddress(); |
435 } | 436 } |
436 }; | 437 }; |
437 | 438 |
438 } } // namespace v8::internal | 439 } } // namespace v8::internal |
439 | 440 |
440 #endif // !defined(USE_SIMULATOR) | 441 #endif // !defined(USE_SIMULATOR) |
441 #endif // V8_MIPS_SIMULATOR_MIPS_H_ | 442 #endif // V8_MIPS_SIMULATOR_MIPS_H_ |
OLD | NEW |