OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 InvokeFlag flag); | 162 InvokeFlag flag); |
163 | 163 |
164 void InvokeFunction(JSFunction* function, | 164 void InvokeFunction(JSFunction* function, |
165 const ParameterCount& actual, | 165 const ParameterCount& actual, |
166 InvokeFlag flag); | 166 InvokeFlag flag); |
167 | 167 |
168 // Invoke specified builtin JavaScript function. Adds an entry to | 168 // Invoke specified builtin JavaScript function. Adds an entry to |
169 // the unresolved list if the name does not resolve. | 169 // the unresolved list if the name does not resolve. |
170 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); | 170 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); |
171 | 171 |
| 172 // Store the function for the given builtin in the target register. |
| 173 void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
| 174 |
172 // Store the code object for the given builtin in the target register. | 175 // Store the code object for the given builtin in the target register. |
173 void GetBuiltinEntry(Register target, Builtins::JavaScript id); | 176 void GetBuiltinEntry(Register target, Builtins::JavaScript id); |
174 | 177 |
175 // Expression support | 178 // Expression support |
176 void Set(Register dst, const Immediate& x); | 179 void Set(Register dst, const Immediate& x); |
177 void Set(const Operand& dst, const Immediate& x); | 180 void Set(const Operand& dst, const Immediate& x); |
178 | 181 |
179 // Compare object type for heap object. | 182 // Compare object type for heap object. |
180 // Incoming register is heap_object and outgoing register is map. | 183 // Incoming register is heap_object and outgoing register is map. |
181 void CmpObjectType(Register heap_object, InstanceType type, Register map); | 184 void CmpObjectType(Register heap_object, InstanceType type, Register map); |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
636 } \ | 639 } \ |
637 masm-> | 640 masm-> |
638 #else | 641 #else |
639 #define ACCESS_MASM(masm) masm-> | 642 #define ACCESS_MASM(masm) masm-> |
640 #endif | 643 #endif |
641 | 644 |
642 | 645 |
643 } } // namespace v8::internal | 646 } } // namespace v8::internal |
644 | 647 |
645 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 648 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |