| 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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 | 646 |
| 647 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { | 647 LInstruction* LChunkBuilder::AssignEnvironment(LInstruction* instr) { |
| 648 HEnvironment* hydrogen_env = current_block_->last_environment(); | 648 HEnvironment* hydrogen_env = current_block_->last_environment(); |
| 649 instr->set_environment(CreateEnvironment(hydrogen_env)); | 649 instr->set_environment(CreateEnvironment(hydrogen_env)); |
| 650 return instr; | 650 return instr; |
| 651 } | 651 } |
| 652 | 652 |
| 653 | 653 |
| 654 LInstruction* LChunkBuilder::SetInstructionPendingDeoptimizationEnvironment( | 654 LInstruction* LChunkBuilder::SetInstructionPendingDeoptimizationEnvironment( |
| 655 LInstruction* instr, int ast_id) { | 655 LInstruction* instr, int ast_id) { |
| 656 ASSERT(instructions_pending_deoptimization_environment_ == NULL); | 656 ASSERT(instruction_pending_deoptimization_environment_ == NULL); |
| 657 ASSERT(pending_deoptimization_ast_id_ == AstNode::kNoNumber); | 657 ASSERT(pending_deoptimization_ast_id_ == AstNode::kNoNumber); |
| 658 instruction_pending_deoptimization_environment_ = instr; | 658 instruction_pending_deoptimization_environment_ = instr; |
| 659 pending_deoptimization_ast_id_ = ast_id; | 659 pending_deoptimization_ast_id_ = ast_id; |
| 660 return instr; | 660 return instr; |
| 661 } | 661 } |
| 662 | 662 |
| 663 | 663 |
| 664 void LChunkBuilder::ClearInstructionPendingDeoptimizationEnvironment() { | 664 void LChunkBuilder::ClearInstructionPendingDeoptimizationEnvironment() { |
| 665 instruction_pending_deoptimization_environment_ = NULL; | 665 instruction_pending_deoptimization_environment_ = NULL; |
| 666 pending_deoptimization_ast_id_ = AstNode::kNoNumber; | 666 pending_deoptimization_ast_id_ = AstNode::kNoNumber; |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1699 | 1699 |
| 1700 | 1700 |
| 1701 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1701 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 1702 Abort("Unimplemented: %s", "DoLeaveInlined"); | 1702 Abort("Unimplemented: %s", "DoLeaveInlined"); |
| 1703 return NULL; | 1703 return NULL; |
| 1704 } | 1704 } |
| 1705 | 1705 |
| 1706 } } // namespace v8::internal | 1706 } } // namespace v8::internal |
| 1707 | 1707 |
| 1708 #endif // V8_TARGET_ARCH_X64 | 1708 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |