| 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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); | 843 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); |
| 844 call(self, RelocInfo::CODE_TARGET); | 844 call(self, RelocInfo::CODE_TARGET); |
| 845 } | 845 } |
| 846 | 846 |
| 847 // Move if the registers are not identical. | 847 // Move if the registers are not identical. |
| 848 void Move(Register target, Register source); | 848 void Move(Register target, Register source); |
| 849 | 849 |
| 850 // Move a constant into a register using the most efficient encoding. | 850 // Move a constant into a register using the most efficient encoding. |
| 851 void Move(Register dst, Immediate imm); | 851 void Move(Register dst, Immediate imm); |
| 852 | 852 |
| 853 // Move an immediate into an XMM register. |
| 854 void Move(XMMRegister dst, double val); |
| 855 |
| 853 // Push a handle value. | 856 // Push a handle value. |
| 854 void Push(Handle<Object> handle) { push(Immediate(handle)); } | 857 void Push(Handle<Object> handle) { push(Immediate(handle)); } |
| 855 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } | 858 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } |
| 856 | 859 |
| 857 Handle<Object> CodeObject() { | 860 Handle<Object> CodeObject() { |
| 858 ASSERT(!code_object_.is_null()); | 861 ASSERT(!code_object_.is_null()); |
| 859 return code_object_; | 862 return code_object_; |
| 860 } | 863 } |
| 861 | 864 |
| 862 // Insert code to verify that the x87 stack has the specified depth (0-7) | 865 // Insert code to verify that the x87 stack has the specified depth (0-7) |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 } \ | 1128 } \ |
| 1126 masm-> | 1129 masm-> |
| 1127 #else | 1130 #else |
| 1128 #define ACCESS_MASM(masm) masm-> | 1131 #define ACCESS_MASM(masm) masm-> |
| 1129 #endif | 1132 #endif |
| 1130 | 1133 |
| 1131 | 1134 |
| 1132 } } // namespace v8::internal | 1135 } } // namespace v8::internal |
| 1133 | 1136 |
| 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1137 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |