Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: src/builtins.h

Issue 214051: Pushed 1.3.12 to trunk. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 30
31 namespace v8 { 31 namespace v8 {
32 namespace internal { 32 namespace internal {
33 33
34 // Define list of builtins implemented in C. 34 // Define list of builtins implemented in C.
35 #define BUILTIN_LIST_C(V) \ 35 #define BUILTIN_LIST_C(V) \
36 V(Illegal) \ 36 V(Illegal) \
37 \ 37 \
38 V(EmptyFunction) \ 38 V(EmptyFunction) \
39 \ 39 \
40 V(ArrayCode) \ 40 V(ArrayCodeGeneric) \
41 \ 41 \
42 V(ArrayPush) \ 42 V(ArrayPush) \
43 V(ArrayPop) \ 43 V(ArrayPop) \
44 \ 44 \
45 V(HandleApiCall) \ 45 V(HandleApiCall) \
46 V(HandleApiCallAsFunction) \ 46 V(HandleApiCallAsFunction) \
47 V(HandleApiCallAsConstructor) 47 V(HandleApiCallAsConstructor)
48 48
49 49
50 // Define list of builtins implemented in assembly. 50 // Define list of builtins implemented in assembly.
(...skipping 25 matching lines...) Expand all
76 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \ 76 V(KeyedLoadIC_Generic, KEYED_LOAD_IC, MEGAMORPHIC) \
77 \ 77 \
78 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \ 78 V(StoreIC_Initialize, STORE_IC, UNINITIALIZED) \
79 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ 79 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \
80 \ 80 \
81 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ 81 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \
82 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ 82 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \
83 \ 83 \
84 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 84 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
85 V(FunctionCall, BUILTIN, UNINITIALIZED) \ 85 V(FunctionCall, BUILTIN, UNINITIALIZED) \
86 V(FunctionApply, BUILTIN, UNINITIALIZED) 86 V(FunctionApply, BUILTIN, UNINITIALIZED) \
87 87 \
88 V(ArrayCode, BUILTIN, UNINITIALIZED) \
89 V(ArrayConstructCode, BUILTIN, UNINITIALIZED)
88 90
89 #ifdef ENABLE_DEBUGGER_SUPPORT 91 #ifdef ENABLE_DEBUGGER_SUPPORT
90 // Define list of builtins used by the debugger implemented in assembly. 92 // Define list of builtins used by the debugger implemented in assembly.
91 #define BUILTIN_LIST_DEBUG_A(V) \ 93 #define BUILTIN_LIST_DEBUG_A(V) \
92 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \ 94 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \
93 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \ 95 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \
94 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \ 96 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \
95 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \ 97 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \
96 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \ 98 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \
97 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \ 99 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 212
211 static void Generate_Adaptor(MacroAssembler* masm, CFunctionId id); 213 static void Generate_Adaptor(MacroAssembler* masm, CFunctionId id);
212 static void Generate_JSConstructCall(MacroAssembler* masm); 214 static void Generate_JSConstructCall(MacroAssembler* masm);
213 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); 215 static void Generate_JSConstructStubGeneric(MacroAssembler* masm);
214 static void Generate_JSEntryTrampoline(MacroAssembler* masm); 216 static void Generate_JSEntryTrampoline(MacroAssembler* masm);
215 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); 217 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
216 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 218 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
217 219
218 static void Generate_FunctionCall(MacroAssembler* masm); 220 static void Generate_FunctionCall(MacroAssembler* masm);
219 static void Generate_FunctionApply(MacroAssembler* masm); 221 static void Generate_FunctionApply(MacroAssembler* masm);
222
223 static void Generate_ArrayCode(MacroAssembler* masm);
224 static void Generate_ArrayConstructCode(MacroAssembler* masm);
220 }; 225 };
221 226
222 } } // namespace v8::internal 227 } } // namespace v8::internal
223 228
224 #endif // V8_BUILTINS_H_ 229 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698