| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 | 417 |
| 418 | 418 |
| 419 Simulator::~Simulator() { | 419 Simulator::~Simulator() { |
| 420 delete[] stack_; | 420 delete[] stack_; |
| 421 if (FLAG_log_instruction_stats) { | 421 if (FLAG_log_instruction_stats) { |
| 422 delete instrument_; | 422 delete instrument_; |
| 423 } | 423 } |
| 424 delete disassembler_decoder_; | 424 delete disassembler_decoder_; |
| 425 delete print_disasm_; | 425 delete print_disasm_; |
| 426 DeleteArray(last_debugger_input_); | 426 DeleteArray(last_debugger_input_); |
| 427 delete decoder_; | |
| 428 } | 427 } |
| 429 | 428 |
| 430 | 429 |
| 431 void Simulator::Run() { | 430 void Simulator::Run() { |
| 432 pc_modified_ = false; | 431 pc_modified_ = false; |
| 433 while (pc_ != kEndOfSimAddress) { | 432 while (pc_ != kEndOfSimAddress) { |
| 434 ExecuteInstruction(); | 433 ExecuteInstruction(); |
| 435 } | 434 } |
| 436 } | 435 } |
| 437 | 436 |
| (...skipping 2991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3429 default: | 3428 default: |
| 3430 UNIMPLEMENTED(); | 3429 UNIMPLEMENTED(); |
| 3431 } | 3430 } |
| 3432 } | 3431 } |
| 3433 | 3432 |
| 3434 #endif // USE_SIMULATOR | 3433 #endif // USE_SIMULATOR |
| 3435 | 3434 |
| 3436 } } // namespace v8::internal | 3435 } } // namespace v8::internal |
| 3437 | 3436 |
| 3438 #endif // V8_TARGET_ARCH_A64 | 3437 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |