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

Side by Side Diff: src/builtins.h

Issue 77035: Add ENABLE_DEBUGGER_SUPPORT macro.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \ 76 V(StoreIC_Megamorphic, STORE_IC, MEGAMORPHIC) \
77 \ 77 \
78 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \ 78 V(KeyedStoreIC_Initialize, KEYED_STORE_IC, UNINITIALIZED) \
79 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \ 79 V(KeyedStoreIC_Generic, KEYED_STORE_IC, MEGAMORPHIC) \
80 \ 80 \
81 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \ 81 /* Uses KeyedLoadIC_Initialize; must be after in list. */ \
82 V(FunctionCall, BUILTIN, UNINITIALIZED) \ 82 V(FunctionCall, BUILTIN, UNINITIALIZED) \
83 V(FunctionApply, BUILTIN, UNINITIALIZED) 83 V(FunctionApply, BUILTIN, UNINITIALIZED)
84 84
85 85
86 #ifdef ENABLE_DEBUGGER_SUPPORT
86 // Define list of builtins used by the debugger implemented in assembly. 87 // Define list of builtins used by the debugger implemented in assembly.
87 #define BUILTIN_LIST_DEBUG_A(V) \ 88 #define BUILTIN_LIST_DEBUG_A(V) \
88 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \ 89 V(Return_DebugBreak, BUILTIN, DEBUG_BREAK) \
89 V(Return_DebugBreakEntry, BUILTIN, DEBUG_BREAK) \ 90 V(Return_DebugBreakEntry, BUILTIN, DEBUG_BREAK) \
90 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \ 91 V(ConstructCall_DebugBreak, BUILTIN, DEBUG_BREAK) \
91 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \ 92 V(StubNoRegisters_DebugBreak, BUILTIN, DEBUG_BREAK) \
92 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \ 93 V(LoadIC_DebugBreak, LOAD_IC, DEBUG_BREAK) \
93 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \ 94 V(KeyedLoadIC_DebugBreak, KEYED_LOAD_IC, DEBUG_BREAK) \
94 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \ 95 V(StoreIC_DebugBreak, STORE_IC, DEBUG_BREAK) \
95 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK) 96 V(KeyedStoreIC_DebugBreak, KEYED_STORE_IC, DEBUG_BREAK)
96 97 #else
98 #define BUILTIN_LIST_DEBUG_A(V)
99 #endif
97 100
98 // Define list of builtins implemented in JavaScript. 101 // Define list of builtins implemented in JavaScript.
99 #define BUILTINS_LIST_JS(V) \ 102 #define BUILTINS_LIST_JS(V) \
100 V(EQUALS, 1) \ 103 V(EQUALS, 1) \
101 V(STRICT_EQUALS, 1) \ 104 V(STRICT_EQUALS, 1) \
102 V(COMPARE, 2) \ 105 V(COMPARE, 2) \
103 V(ADD, 1) \ 106 V(ADD, 1) \
104 V(SUB, 1) \ 107 V(SUB, 1) \
105 V(MUL, 1) \ 108 V(MUL, 1) \
106 V(DIV, 1) \ 109 V(DIV, 1) \
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm); 211 static void Generate_JSConstructEntryTrampoline(MacroAssembler* masm);
209 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm); 212 static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
210 213
211 static void Generate_FunctionCall(MacroAssembler* masm); 214 static void Generate_FunctionCall(MacroAssembler* masm);
212 static void Generate_FunctionApply(MacroAssembler* masm); 215 static void Generate_FunctionApply(MacroAssembler* masm);
213 }; 216 };
214 217
215 } } // namespace v8::internal 218 } } // namespace v8::internal
216 219
217 #endif // V8_BUILTINS_H_ 220 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698