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

Side by Side Diff: src/builtins.h

Issue 11821049: Combine DEBUG_BREAK and DEBUG_PREPARE_STEP_IN into one IC stub kind DEBUG_STUB, encoding DEBUG_BREA… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 11 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 | « no previous file | src/debug.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 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 \ 214 \
215 V(StringConstructCode, BUILTIN, UNINITIALIZED, \ 215 V(StringConstructCode, BUILTIN, UNINITIALIZED, \
216 Code::kNoExtraICState) \ 216 Code::kNoExtraICState) \
217 \ 217 \
218 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \ 218 V(OnStackReplacement, BUILTIN, UNINITIALIZED, \
219 Code::kNoExtraICState) \ 219 Code::kNoExtraICState) \
220 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V) 220 CODE_AGE_LIST_WITH_ARG(DECLARE_CODE_AGE_BUILTIN, V)
221 221
222 #ifdef ENABLE_DEBUGGER_SUPPORT 222 #ifdef ENABLE_DEBUGGER_SUPPORT
223 // Define list of builtins used by the debugger implemented in assembly. 223 // Define list of builtins used by the debugger implemented in assembly.
224 #define BUILTIN_LIST_DEBUG_A(V) \ 224 #define BUILTIN_LIST_DEBUG_A(V) \
225 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK, \ 225 V(Return_DebugBreak, BUILTIN, DEBUG_STUB, \
226 Code::kNoExtraICState) \ 226 DEBUG_BREAK) \
227 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ 227 V(CallFunctionStub_DebugBreak, BUILTIN, DEBUG_STUB, \
228 Code::kNoExtraICState) \ 228 DEBUG_BREAK) \
229 V(CallFunctionStub_Recording_DebugBreak, BUILTIN, DEBUG_BREAK, \ 229 V(CallFunctionStub_Recording_DebugBreak, BUILTIN, DEBUG_STUB, \
230 Code::kNoExtraICState) \ 230 DEBUG_BREAK) \
231 V(CallConstructStub_DebugBreak, BUILTIN, DEBUG_BREAK, \ 231 V(CallConstructStub_DebugBreak, BUILTIN, DEBUG_STUB, \
232 Code::kNoExtraICState) \ 232 DEBUG_BREAK) \
233 V(CallConstructStub_Recording_DebugBreak, BUILTIN, DEBUG_BREAK, \ 233 V(CallConstructStub_Recording_DebugBreak, BUILTIN, DEBUG_STUB, \
234 Code::kNoExtraICState) \ 234 DEBUG_BREAK) \
235 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK, \ 235 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_STUB, \
236 Code::kNoExtraICState) \ 236 DEBUG_BREAK) \
237 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK, \ 237 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_STUB, \
238 Code::kNoExtraICState) \ 238 DEBUG_BREAK) \
239 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK, \ 239 V(StoreIC_DebugBreak, STORE_IC, DEBUG_STUB, \
240 Code::kNoExtraICState) \ 240 DEBUG_BREAK) \
241 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK, \ 241 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_STUB, \
242 Code::kNoExtraICState) \ 242 DEBUG_BREAK) \
243 V(Slot_DebugBreak, BUILTIN, DEBUG_BREAK, \ 243 V(Slot_DebugBreak, BUILTIN, DEBUG_STUB, \
244 Code::kNoExtraICState) \ 244 DEBUG_BREAK) \
245 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_BREAK, \ 245 V(PlainReturn_LiveEdit, BUILTIN, DEBUG_STUB, \
246 Code::kNoExtraICState) \ 246 DEBUG_BREAK) \
247 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_BREAK, \ 247 V(FrameDropper_LiveEdit, BUILTIN, DEBUG_STUB, \
248 Code::kNoExtraICState) 248 DEBUG_BREAK)
249 #else 249 #else
250 #define BUILTIN_LIST_DEBUG_A(V) 250 #define BUILTIN_LIST_DEBUG_A(V)
251 #endif 251 #endif
252 252
253 // Define list of builtins implemented in JavaScript. 253 // Define list of builtins implemented in JavaScript.
254 #define BUILTINS_LIST_JS(V) \ 254 #define BUILTINS_LIST_JS(V) \
255 V(EQUALS, 1) \ 255 V(EQUALS, 1) \
256 V(STRICT_EQUALS, 1) \ 256 V(STRICT_EQUALS, 1) \
257 V(COMPARE, 2) \ 257 V(COMPARE, 2) \
258 V(ADD, 1) \ 258 V(ADD, 1) \
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 415
416 friend class BuiltinFunctionTable; 416 friend class BuiltinFunctionTable;
417 friend class Isolate; 417 friend class Isolate;
418 418
419 DISALLOW_COPY_AND_ASSIGN(Builtins); 419 DISALLOW_COPY_AND_ASSIGN(Builtins);
420 }; 420 };
421 421
422 } } // namespace v8::internal 422 } } // namespace v8::internal
423 423
424 #endif // V8_BUILTINS_H_ 424 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698