| 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 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1839 __ Set(temp, Immediate(lower)); | 1839 __ Set(temp, Immediate(lower)); |
| 1840 __ movd(xmm0, Operand(temp)); | 1840 __ movd(xmm0, Operand(temp)); |
| 1841 __ por(res, xmm0); | 1841 __ por(res, xmm0); |
| 1842 } | 1842 } |
| 1843 } | 1843 } |
| 1844 } | 1844 } |
| 1845 } | 1845 } |
| 1846 } | 1846 } |
| 1847 | 1847 |
| 1848 | 1848 |
| 1849 void LCodeGen::DoConstantE(LConstantE* instr) { |
| 1850 __ lea(ToRegister(instr->result()), Operand::StaticVariable(instr->value())); |
| 1851 } |
| 1852 |
| 1853 |
| 1849 void LCodeGen::DoConstantT(LConstantT* instr) { | 1854 void LCodeGen::DoConstantT(LConstantT* instr) { |
| 1850 Register reg = ToRegister(instr->result()); | 1855 Register reg = ToRegister(instr->result()); |
| 1851 Handle<Object> handle = instr->value(); | 1856 Handle<Object> handle = instr->value(); |
| 1852 AllowDeferredHandleDereference smi_check; | 1857 AllowDeferredHandleDereference smi_check; |
| 1853 __ LoadObject(reg, handle); | 1858 __ LoadObject(reg, handle); |
| 1854 } | 1859 } |
| 1855 | 1860 |
| 1856 | 1861 |
| 1857 void LCodeGen::DoMapEnumLength(LMapEnumLength* instr) { | 1862 void LCodeGen::DoMapEnumLength(LMapEnumLength* instr) { |
| 1858 Register result = ToRegister(instr->result()); | 1863 Register result = ToRegister(instr->result()); |
| (...skipping 4640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6499 FixedArray::kHeaderSize - kPointerSize)); | 6504 FixedArray::kHeaderSize - kPointerSize)); |
| 6500 __ bind(&done); | 6505 __ bind(&done); |
| 6501 } | 6506 } |
| 6502 | 6507 |
| 6503 | 6508 |
| 6504 #undef __ | 6509 #undef __ |
| 6505 | 6510 |
| 6506 } } // namespace v8::internal | 6511 } } // namespace v8::internal |
| 6507 | 6512 |
| 6508 #endif // V8_TARGET_ARCH_IA32 | 6513 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |