| 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 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1788 | 1788 |
| 1789 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { | 1789 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { |
| 1790 LOperand* global_object = UseFixed(instr->global_object(), rax); | 1790 LOperand* global_object = UseFixed(instr->global_object(), rax); |
| 1791 LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object); | 1791 LLoadGlobalGeneric* result = new LLoadGlobalGeneric(global_object); |
| 1792 return MarkAsCall(DefineFixed(result, rax), instr); | 1792 return MarkAsCall(DefineFixed(result, rax), instr); |
| 1793 } | 1793 } |
| 1794 | 1794 |
| 1795 | 1795 |
| 1796 LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) { | 1796 LInstruction* LChunkBuilder::DoStoreGlobalCell(HStoreGlobalCell* instr) { |
| 1797 LStoreGlobalCell* result = | 1797 LStoreGlobalCell* result = |
| 1798 new LStoreGlobalCell(UseRegister(instr->value()), TempRegister()); | 1798 new LStoreGlobalCell(UseTempRegister(instr->value()), |
| 1799 TempRegister(), |
| 1800 TempRegister()); |
| 1799 return instr->check_hole_value() ? AssignEnvironment(result) : result; | 1801 return instr->check_hole_value() ? AssignEnvironment(result) : result; |
| 1800 } | 1802 } |
| 1801 | 1803 |
| 1802 | 1804 |
| 1803 LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) { | 1805 LInstruction* LChunkBuilder::DoStoreGlobalGeneric(HStoreGlobalGeneric* instr) { |
| 1804 LOperand* global_object = UseFixed(instr->global_object(), rdx); | 1806 LOperand* global_object = UseFixed(instr->global_object(), rdx); |
| 1805 LOperand* value = UseFixed(instr->value(), rax); | 1807 LOperand* value = UseFixed(instr->value(), rax); |
| 1806 LStoreGlobalGeneric* result = new LStoreGlobalGeneric(global_object, value); | 1808 LStoreGlobalGeneric* result = new LStoreGlobalGeneric(global_object, value); |
| 1807 return MarkAsCall(result, instr); | 1809 return MarkAsCall(result, instr); |
| 1808 } | 1810 } |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2193 LOperand* key = UseOrConstantAtStart(instr->key()); | 2195 LOperand* key = UseOrConstantAtStart(instr->key()); |
| 2194 LOperand* object = UseOrConstantAtStart(instr->object()); | 2196 LOperand* object = UseOrConstantAtStart(instr->object()); |
| 2195 LIn* result = new LIn(key, object); | 2197 LIn* result = new LIn(key, object); |
| 2196 return MarkAsCall(DefineFixed(result, rax), instr); | 2198 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2197 } | 2199 } |
| 2198 | 2200 |
| 2199 | 2201 |
| 2200 } } // namespace v8::internal | 2202 } } // namespace v8::internal |
| 2201 | 2203 |
| 2202 #endif // V8_TARGET_ARCH_X64 | 2204 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |