OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 InvokeFlag flag); | 196 InvokeFlag flag); |
197 | 197 |
198 void InvokeFunction(JSFunction* function, | 198 void InvokeFunction(JSFunction* function, |
199 const ParameterCount& actual, | 199 const ParameterCount& actual, |
200 InvokeFlag flag); | 200 InvokeFlag flag); |
201 | 201 |
202 // Invoke specified builtin JavaScript function. Adds an entry to | 202 // Invoke specified builtin JavaScript function. Adds an entry to |
203 // the unresolved list if the name does not resolve. | 203 // the unresolved list if the name does not resolve. |
204 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); | 204 void InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag); |
205 | 205 |
| 206 // Store the function for the given builtin in the target register. |
| 207 void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
| 208 |
206 // Store the code object for the given builtin in the target register. | 209 // Store the code object for the given builtin in the target register. |
207 void GetBuiltinEntry(Register target, Builtins::JavaScript id); | 210 void GetBuiltinEntry(Register target, Builtins::JavaScript id); |
208 | 211 |
209 | 212 |
210 // --------------------------------------------------------------------------- | 213 // --------------------------------------------------------------------------- |
211 // Smi tagging, untagging and operations on tagged smis. | 214 // Smi tagging, untagging and operations on tagged smis. |
212 | 215 |
213 void InitializeSmiConstantRegister() { | 216 void InitializeSmiConstantRegister() { |
214 movq(kSmiConstantRegister, | 217 movq(kSmiConstantRegister, |
215 reinterpret_cast<uint64_t>(Smi::FromInt(kSmiConstantRegisterValue)), | 218 reinterpret_cast<uint64_t>(Smi::FromInt(kSmiConstantRegisterValue)), |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 } \ | 960 } \ |
958 masm-> | 961 masm-> |
959 #else | 962 #else |
960 #define ACCESS_MASM(masm) masm-> | 963 #define ACCESS_MASM(masm) masm-> |
961 #endif | 964 #endif |
962 | 965 |
963 | 966 |
964 } } // namespace v8::internal | 967 } } // namespace v8::internal |
965 | 968 |
966 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 969 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |