| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 949         if (LUnallocated::cast(instr->Output())->HasFixedPolicy()) ++fixed; | 949         if (LUnallocated::cast(instr->Output())->HasFixedPolicy()) ++fixed; | 
| 950       } | 950       } | 
| 951       for (TempIterator it(instr); !it.Done(); it.Advance()) { | 951       for (TempIterator it(instr); !it.Done(); it.Advance()) { | 
| 952         LUnallocated* operand = LUnallocated::cast(it.Current()); | 952         LUnallocated* operand = LUnallocated::cast(it.Current()); | 
| 953         if (operand->HasFixedPolicy()) ++fixed; | 953         if (operand->HasFixedPolicy()) ++fixed; | 
| 954       } | 954       } | 
| 955       ASSERT(fixed == 0 || used_at_start == 0); | 955       ASSERT(fixed == 0 || used_at_start == 0); | 
| 956     } | 956     } | 
| 957 #endif | 957 #endif | 
| 958 | 958 | 
|  | 959     instr->set_position(position_); | 
|  | 960 | 
| 959     if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) { | 961     if (FLAG_stress_pointer_maps && !instr->HasPointerMap()) { | 
| 960       instr = AssignPointerMap(instr); | 962       instr = AssignPointerMap(instr); | 
| 961     } | 963     } | 
| 962     if (FLAG_stress_environments && !instr->HasEnvironment()) { | 964     if (FLAG_stress_environments && !instr->HasEnvironment()) { | 
| 963       instr = AssignEnvironment(instr); | 965       instr = AssignEnvironment(instr); | 
| 964     } | 966     } | 
| 965     instr->set_hydrogen_value(current); | 967     instr->set_hydrogen_value(current); | 
| 966     chunk_->AddInstruction(instr, current_block_); | 968     chunk_->AddInstruction(instr, current_block_); | 
| 967   } | 969   } | 
| 968   current_instruction_ = old_current; | 970   current_instruction_ = old_current; | 
| (...skipping 1796 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2765 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2767 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 
| 2766   LOperand* object = UseRegister(instr->object()); | 2768   LOperand* object = UseRegister(instr->object()); | 
| 2767   LOperand* index = UseTempRegister(instr->index()); | 2769   LOperand* index = UseTempRegister(instr->index()); | 
| 2768   return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2770   return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 
| 2769 } | 2771 } | 
| 2770 | 2772 | 
| 2771 | 2773 | 
| 2772 } }  // namespace v8::internal | 2774 } }  // namespace v8::internal | 
| 2773 | 2775 | 
| 2774 #endif  // V8_TARGET_ARCH_IA32 | 2776 #endif  // V8_TARGET_ARCH_IA32 | 
| OLD | NEW | 
|---|