OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 \ | 181 \ |
182 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ | 182 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ |
183 Code::kNoExtraICState) \ | 183 Code::kNoExtraICState) \ |
184 \ | 184 \ |
185 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ | 185 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ |
186 Code::kNoExtraICState) | 186 Code::kNoExtraICState) |
187 | 187 |
188 | 188 |
189 #ifdef ENABLE_DEBUGGER_SUPPORT | 189 #ifdef ENABLE_DEBUGGER_SUPPORT |
190 // Define list of builtins used by the debugger implemented in assembly. | 190 // Define list of builtins used by the debugger implemented in assembly. |
191 #define BUILTIN_LIST_DEBUG_A(V) \ | 191 #define BUILTIN_LIST_DEBUG_A(V) \ |
192 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 192 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
193 Code::kNoExtraICState) \ | 193 Code::kNoExtraICState) \ |
194 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 194 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
195 Code::kNoExtraICState) \ | 195 Code::kNoExtraICState) \ |
196 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 196 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
197 Code::kNoExtraICState) \ | 197 Code::kNoExtraICState) \ |
198 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK, \ | 198 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK, \ |
199 Code::kNoExtraICState) \ | 199 Code::kNoExtraICState) \ |
200 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK, \ | 200 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK, \ |
201 Code::kNoExtraICState) \ | 201 Code::kNoExtraICState) \ |
202 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK, \ | 202 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK, \ |
203 Code::kNoExtraICState) \ | 203 Code::kNoExtraICState) \ |
204 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK, \ | 204 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK, \ |
205 Code::kNoExtraICState) \ | 205 Code::kNoExtraICState) \ |
206 V(Slot_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 206 V(Slot_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
207 Code::kNoExtraICState) \ | 207 Code::kNoExtraICState) \ |
208 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_BREAK, \ | 208 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_BREAK, \ |
209 Code::kNoExtraICState) \ | 209 Code::kNoExtraICState) \ |
210 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_BREAK, \ | 210 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_BREAK, \ |
211 Code::kNoExtraICState) | 211 Code::kNoExtraICState) |
212 #else | 212 #else |
213 #define BUILTIN_LIST_DEBUG_A(V) | 213 #define BUILTIN_LIST_DEBUG_A(V) |
214 #endif | 214 #endif |
215 | 215 |
216 // Define list of builtins implemented in JavaScript. | 216 // Define list of builtins implemented in JavaScript. |
217 #define BUILTINS_LIST_JS(V) \ | 217 #define BUILTINS_LIST_JS(V) \ |
218 V(EQUALS, 1) \ | 218 V(EQUALS, 1) \ |
219 V(STRICT_EQUALS, 1) \ | 219 V(STRICT_EQUALS, 1) \ |
220 V(COMPARE, 2) \ | 220 V(COMPARE, 2) \ |
221 V(ADD, 1) \ | 221 V(ADD, 1) \ |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 friend class BuiltinFunctionTable; | 369 friend class BuiltinFunctionTable; |
370 friend class Isolate; | 370 friend class Isolate; |
371 | 371 |
372 DISALLOW_COPY_AND_ASSIGN(Builtins); | 372 DISALLOW_COPY_AND_ASSIGN(Builtins); |
373 }; | 373 }; |
374 | 374 |
375 } } // namespace v8::internal | 375 } } // namespace v8::internal |
376 | 376 |
377 #endif // V8_BUILTINS_H_ | 377 #endif // V8_BUILTINS_H_ |
OLD | NEW |