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