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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 allocator_->RecordTemporary(operand); | 797 allocator_->RecordTemporary(operand); |
798 return operand; | 798 return operand; |
799 } | 799 } |
800 | 800 |
801 | 801 |
802 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 802 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
803 return new LLabel(instr->block()); | 803 return new LLabel(instr->block()); |
804 } | 804 } |
805 | 805 |
806 | 806 |
807 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
808 return AssignEnvironment(new LDeoptimize); | |
809 } | |
810 | |
811 | |
812 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 807 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
813 return AssignEnvironment(new LDeoptimize); | 808 return AssignEnvironment(new LDeoptimize); |
814 } | 809 } |
815 | 810 |
816 | 811 |
817 LInstruction* LChunkBuilder::DoBit(Token::Value op, | 812 LInstruction* LChunkBuilder::DoBit(Token::Value op, |
818 HBitwiseBinaryOperation* instr) { | 813 HBitwiseBinaryOperation* instr) { |
819 if (instr->representation().IsInteger32()) { | 814 if (instr->representation().IsInteger32()) { |
820 ASSERT(instr->left()->representation().IsInteger32()); | 815 ASSERT(instr->left()->representation().IsInteger32()); |
821 ASSERT(instr->right()->representation().IsInteger32()); | 816 ASSERT(instr->right()->representation().IsInteger32()); |
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2296 LOperand* key = UseOrConstantAtStart(instr->key()); | 2291 LOperand* key = UseOrConstantAtStart(instr->key()); |
2297 LOperand* object = UseOrConstantAtStart(instr->object()); | 2292 LOperand* object = UseOrConstantAtStart(instr->object()); |
2298 LIn* result = new LIn(key, object); | 2293 LIn* result = new LIn(key, object); |
2299 return MarkAsCall(DefineFixed(result, eax), instr); | 2294 return MarkAsCall(DefineFixed(result, eax), instr); |
2300 } | 2295 } |
2301 | 2296 |
2302 | 2297 |
2303 } } // namespace v8::internal | 2298 } } // namespace v8::internal |
2304 | 2299 |
2305 #endif // V8_TARGET_ARCH_IA32 | 2300 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |