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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 V(KeyedStoreIC_ExternalUnsignedShortArray, KEYED_STORE_IC, MEGAMORPHIC) \ | 110 V(KeyedStoreIC_ExternalUnsignedShortArray, KEYED_STORE_IC, MEGAMORPHIC) \ |
111 V(KeyedStoreIC_ExternalIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ | 111 V(KeyedStoreIC_ExternalIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ |
112 V(KeyedStoreIC_ExternalUnsignedIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ | 112 V(KeyedStoreIC_ExternalUnsignedIntArray, KEYED_STORE_IC, MEGAMORPHIC) \ |
113 V(KeyedStoreIC_ExternalFloatArray, KEYED_STORE_IC, MEGAMORPHIC) \ | 113 V(KeyedStoreIC_ExternalFloatArray, KEYED_STORE_IC, MEGAMORPHIC) \ |
114 \ | 114 \ |
115 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ | 115 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ |
116 V(FunctionCall, BUILTIN, UNINITIALIZED) \ | 116 V(FunctionCall, BUILTIN, UNINITIALIZED) \ |
117 V(FunctionApply, BUILTIN, UNINITIALIZED) \ | 117 V(FunctionApply, BUILTIN, UNINITIALIZED) \ |
118 \ | 118 \ |
119 V(ArrayCode, BUILTIN, UNINITIALIZED) \ | 119 V(ArrayCode, BUILTIN, UNINITIALIZED) \ |
120 V(ArrayConstructCode, BUILTIN, UNINITIALIZED) | 120 V(ArrayConstructCode, BUILTIN, UNINITIALIZED) \ |
| 121 \ |
| 122 V(StringConstructCode, BUILTIN, UNINITIALIZED) |
| 123 |
121 | 124 |
122 #ifdef ENABLE_DEBUGGER_SUPPORT | 125 #ifdef ENABLE_DEBUGGER_SUPPORT |
123 // Define list of builtins used by the debugger implemented in assembly. | 126 // Define list of builtins used by the debugger implemented in assembly. |
124 #define BUILTIN_LIST_DEBUG_A(V) \ | 127 #define BUILTIN_LIST_DEBUG_A(V) \ |
125 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \ | 128 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \ |
126 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \ | 129 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \ |
127 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \ | 130 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \ |
128 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \ | 131 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \ |
129 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \ | 132 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \ |
130 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \ | 133 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \ |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 static void Generate_JSEntryTrampoline(MacroAssembler* masm); | 254 static void Generate_JSEntryTrampoline(MacroAssembler* masm); |
252 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); | 255 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); |
253 static void Generate_LazyCompile(MacroAssembler* masm); | 256 static void Generate_LazyCompile(MacroAssembler* masm); |
254 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); | 257 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); |
255 | 258 |
256 static void Generate_FunctionCall(MacroAssembler* masm); | 259 static void Generate_FunctionCall(MacroAssembler* masm); |
257 static void Generate_FunctionApply(MacroAssembler* masm); | 260 static void Generate_FunctionApply(MacroAssembler* masm); |
258 | 261 |
259 static void Generate_ArrayCode(MacroAssembler* masm); | 262 static void Generate_ArrayCode(MacroAssembler* masm); |
260 static void Generate_ArrayConstructCode(MacroAssembler* masm); | 263 static void Generate_ArrayConstructCode(MacroAssembler* masm); |
| 264 |
| 265 static void Generate_StringConstructCode(MacroAssembler* masm); |
261 }; | 266 }; |
262 | 267 |
263 } } // namespace v8::internal | 268 } } // namespace v8::internal |
264 | 269 |
265 #endif // V8_BUILTINS_H_ | 270 #endif // V8_BUILTINS_H_ |
OLD | NEW |