OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 | 63 |
64 // Define list of builtins implemented in assembly. | 64 // Define list of builtins implemented in assembly. |
65 #define BUILTIN_LIST_A(V) \ | 65 #define BUILTIN_LIST_A(V) \ |
66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED) \ | 66 V(ArgumentsAdaptorTrampoline, BUILTIN, UNINITIALIZED) \ |
67 V(JSConstructCall, BUILTIN, UNINITIALIZED) \ | 67 V(JSConstructCall, BUILTIN, UNINITIALIZED) \ |
68 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED) \ | 68 V(JSConstructStubGeneric, BUILTIN, UNINITIALIZED) \ |
69 V(JSConstructStubApi, BUILTIN, UNINITIALIZED) \ | 69 V(JSConstructStubApi, BUILTIN, UNINITIALIZED) \ |
70 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED) \ | 70 V(JSEntryTrampoline, BUILTIN, UNINITIALIZED) \ |
71 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED) \ | 71 V(JSConstructEntryTrampoline, BUILTIN, UNINITIALIZED) \ |
| 72 V(LazyCompile, BUILTIN, UNINITIALIZED) \ |
72 \ | 73 \ |
73 V(LoadIC_Miss, BUILTIN, UNINITIALIZED) \ | 74 V(LoadIC_Miss, BUILTIN, UNINITIALIZED) \ |
74 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED) \ | 75 V(KeyedLoadIC_Miss, BUILTIN, UNINITIALIZED) \ |
75 V(StoreIC_Miss, BUILTIN, UNINITIALIZED) \ | 76 V(StoreIC_Miss, BUILTIN, UNINITIALIZED) \ |
76 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED) \ | 77 V(KeyedStoreIC_Miss, BUILTIN, UNINITIALIZED) \ |
77 \ | 78 \ |
78 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED) \ | 79 V(LoadIC_Initialize, LOAD_IC, UNINITIALIZED) \ |
79 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC) \ | 80 V(LoadIC_PreMonomorphic, LOAD_IC, PREMONOMORPHIC) \ |
80 V(LoadIC_Normal, LOAD_IC, MONOMORPHIC) \ | 81 V(LoadIC_Normal, LOAD_IC, MONOMORPHIC) \ |
81 V(LoadIC_ArrayLength, LOAD_IC, MONOMORPHIC) \ | 82 V(LoadIC_ArrayLength, LOAD_IC, MONOMORPHIC) \ |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 static int javascript_argc_[id_count]; | 243 static int javascript_argc_[id_count]; |
243 | 244 |
244 static void Generate_Adaptor(MacroAssembler* masm, | 245 static void Generate_Adaptor(MacroAssembler* masm, |
245 CFunctionId id, | 246 CFunctionId id, |
246 BuiltinExtraArguments extra_args); | 247 BuiltinExtraArguments extra_args); |
247 static void Generate_JSConstructCall(MacroAssembler* masm); | 248 static void Generate_JSConstructCall(MacroAssembler* masm); |
248 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); | 249 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); |
249 static void Generate_JSConstructStubApi(MacroAssembler* masm); | 250 static void Generate_JSConstructStubApi(MacroAssembler* masm); |
250 static void Generate_JSEntryTrampoline(MacroAssembler* masm); | 251 static void Generate_JSEntryTrampoline(MacroAssembler* masm); |
251 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 252 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
| 253 static void Generate_LazyCompile(MacroAssembler* masm); |
252 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 254 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
253 | 255 |
254 static void Generate_FunctionCall(MacroAssembler* masm); | 256 static void Generate_FunctionCall(MacroAssembler* masm); |
255 static void Generate_FunctionApply(MacroAssembler* masm); | 257 static void Generate_FunctionApply(MacroAssembler* masm); |
256 | 258 |
257 static void Generate_ArrayCode(MacroAssembler* masm); | 259 static void Generate_ArrayCode(MacroAssembler* masm); |
258 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 260 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
259 }; | 261 }; |
260 | 262 |
261 } } // namespace v8::internal | 263 } } // namespace v8::internal |
262 | 264 |
263 #endif // V8_BUILTINS_H_ | 265 #endif // V8_BUILTINS_H_ |
OLD | NEW |