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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ | 187 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ |
188 Code::kNoExtraICState) \ | 188 Code::kNoExtraICState) \ |
189 \ | 189 \ |
190 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ | 190 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ |
191 Code::kNoExtraICState) | 191 Code::kNoExtraICState) |
192 | 192 |
193 | 193 |
194 #ifdef ENABLE_DEBUGGER_SUPPORT | 194 #ifdef ENABLE_DEBUGGER_SUPPORT |
195 // Define list of builtins used by the debugger implemented in assembly. | 195 // Define list of builtins used by the debugger implemented in assembly. |
196 #define BUILTIN_LIST_DEBUG_A(V) \ | 196 #define BUILTIN_LIST_DEBUG_A(V) \ |
197 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 197 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
198 Code::kNoExtraICState) \ | 198 Code::kNoExtraICState) \ |
199 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 199 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
200 Code::kNoExtraICState) \ | 200 Code::kNoExtraICState) \ |
201 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 201 V(CallFunctionStub_Recording_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
202 Code::kNoExtraICState) \ | 202 Code::kNoExtraICState) \ |
203 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK, \ | 203 V(CallConstructStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
204 Code::kNoExtraICState) \ | 204 Code::kNoExtraICState) \ |
205 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK, \ | 205 V(CallConstructStub_Recording_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
206 Code::kNoExtraICState) \ | 206 Code::kNoExtraICState) \ |
207 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK, \ | 207 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK, \ |
208 Code::kNoExtraICState) \ | 208 Code::kNoExtraICState) \ |
209 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK, \ | 209 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK, \ |
210 Code::kNoExtraICState) \ | 210 Code::kNoExtraICState) \ |
211 V(Slot_DebugBreak, BUILTIN, DEBUG_BREAK, \ | 211 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK, \ |
212 Code::kNoExtraICState) \ | 212 Code::kNoExtraICState) \ |
213 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_BREAK, \ | 213 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK, \ |
214 Code::kNoExtraICState) \ | 214 Code::kNoExtraICState) \ |
215 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_BREAK, \ | 215 V(Slot_DebugBreak, BUILTIN, DEBUG_BREAK, \ |
216 Code::kNoExtraICState) | 216 Code::kNoExtraICState) \ |
| 217 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_BREAK, \ |
| 218 Code::kNoExtraICState) \ |
| 219 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_BREAK, \ |
| 220 Code::kNoExtraICState) |
217 #else | 221 #else |
218 #define BUILTIN_LIST_DEBUG_A(V) | 222 #define BUILTIN_LIST_DEBUG_A(V) |
219 #endif | 223 #endif |
220 | 224 |
221 // Define list of builtins implemented in JavaScript. | 225 // Define list of builtins implemented in JavaScript. |
222 #define BUILTINS_LIST_JS(V) \ | 226 #define BUILTINS_LIST_JS(V) \ |
223 V(EQUALS, 1) \ | 227 V(EQUALS, 1) \ |
224 V(STRICT_EQUALS, 1) \ | 228 V(STRICT_EQUALS, 1) \ |
225 V(COMPARE, 2) \ | 229 V(COMPARE, 2) \ |
226 V(ADD, 1) \ | 230 V(ADD, 1) \ |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 376 |
373 friend class BuiltinFunctionTable; | 377 friend class BuiltinFunctionTable; |
374 friend class Isolate; | 378 friend class Isolate; |
375 | 379 |
376 DISALLOW_COPY_AND_ASSIGN(Builtins); | 380 DISALLOW_COPY_AND_ASSIGN(Builtins); |
377 }; | 381 }; |
378 | 382 |
379 } } // namespace v8::internal | 383 } } // namespace v8::internal |
380 | 384 |
381 #endif // V8_BUILTINS_H_ | 385 #endif // V8_BUILTINS_H_ |
OLD | NEW |