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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 allocator_->RecordTemporary(operand); | 796 allocator_->RecordTemporary(operand); |
797 return operand; | 797 return operand; |
798 } | 798 } |
799 | 799 |
800 | 800 |
801 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 801 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
802 return new LLabel(instr->block()); | 802 return new LLabel(instr->block()); |
803 } | 803 } |
804 | 804 |
805 | 805 |
| 806 LInstruction* LChunkBuilder::DoEagerDeoptimize(HEagerDeoptimize* instr) { |
| 807 return AssignEnvironment(new LDeoptimize); |
| 808 } |
| 809 |
| 810 |
806 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 811 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
807 return AssignEnvironment(new LDeoptimize); | 812 return AssignEnvironment(new LDeoptimize); |
808 } | 813 } |
809 | 814 |
810 | 815 |
811 LInstruction* LChunkBuilder::DoBit(Token::Value op, | 816 LInstruction* LChunkBuilder::DoBit(Token::Value op, |
812 HBitwiseBinaryOperation* instr) { | 817 HBitwiseBinaryOperation* instr) { |
813 if (instr->representation().IsInteger32()) { | 818 if (instr->representation().IsInteger32()) { |
814 ASSERT(instr->left()->representation().IsInteger32()); | 819 ASSERT(instr->left()->representation().IsInteger32()); |
815 ASSERT(instr->right()->representation().IsInteger32()); | 820 ASSERT(instr->right()->representation().IsInteger32()); |
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2219 LOperand* key = UseOrConstantAtStart(instr->key()); | 2224 LOperand* key = UseOrConstantAtStart(instr->key()); |
2220 LOperand* object = UseOrConstantAtStart(instr->object()); | 2225 LOperand* object = UseOrConstantAtStart(instr->object()); |
2221 LIn* result = new LIn(key, object); | 2226 LIn* result = new LIn(key, object); |
2222 return MarkAsCall(DefineFixed(result, rax), instr); | 2227 return MarkAsCall(DefineFixed(result, rax), instr); |
2223 } | 2228 } |
2224 | 2229 |
2225 | 2230 |
2226 } } // namespace v8::internal | 2231 } } // namespace v8::internal |
2227 | 2232 |
2228 #endif // V8_TARGET_ARCH_X64 | 2233 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |