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

Side by Side Diff: src/contexts.h

Issue 19753: Changed the debugger API to allow only one debug event listener to be registe... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 10 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 | « src/bootstrapper.cc ('k') | src/d8.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 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(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \ 76 V(TO_INT32_FUN_INDEX, JSFunction, to_int32_fun) \
77 V(TO_BOOLEAN_FUN_INDEX, JSFunction, to_boolean_fun) \ 77 V(TO_BOOLEAN_FUN_INDEX, JSFunction, to_boolean_fun) \
78 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \ 78 V(INSTANTIATE_FUN_INDEX, JSFunction, instantiate_fun) \
79 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \ 79 V(CONFIGURE_INSTANCE_FUN_INDEX, JSFunction, configure_instance_fun) \
80 V(FUNCTION_MAP_INDEX, Map, function_map) \ 80 V(FUNCTION_MAP_INDEX, Map, function_map) \
81 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \ 81 V(FUNCTION_INSTANCE_MAP_INDEX, Map, function_instance_map) \
82 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\ 82 V(JS_ARRAY_MAP_INDEX, Map, js_array_map)\
83 V(SPECIAL_FUNCTION_TABLE_INDEX, FixedArray, special_function_table) \ 83 V(SPECIAL_FUNCTION_TABLE_INDEX, FixedArray, special_function_table) \
84 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \ 84 V(ARGUMENTS_BOILERPLATE_INDEX, JSObject, arguments_boilerplate) \
85 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \ 85 V(MESSAGE_LISTENERS_INDEX, JSObject, message_listeners) \
86 V(DEBUG_EVENT_LISTENERS_INDEX, JSObject, debug_event_listeners) \
87 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \ 86 V(MAKE_MESSAGE_FUN_INDEX, JSFunction, make_message_fun) \
88 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \ 87 V(GET_STACK_TRACE_LINE_INDEX, JSFunction, get_stack_trace_line_fun) \
89 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \ 88 V(CONFIGURE_GLOBAL_INDEX, JSFunction, configure_global_fun) \
90 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \ 89 V(FUNCTION_CACHE_INDEX, JSObject, function_cache) \
91 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \ 90 V(RUNTIME_CONTEXT_INDEX, Context, runtime_context) \
92 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \ 91 V(CALL_AS_FUNCTION_DELEGATE_INDEX, JSFunction, call_as_function_delegate) \
93 V(EMPTY_SCRIPT_INDEX, Script, empty_script) \ 92 V(EMPTY_SCRIPT_INDEX, Script, empty_script) \
94 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \ 93 V(SCRIPT_FUNCTION_INDEX, JSFunction, script_function) \
95 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \ 94 V(CONTEXT_EXTENSION_FUNCTION_INDEX, JSFunction, context_extension_function) \
96 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \ 95 V(OUT_OF_MEMORY_INDEX, Object, out_of_memory) \
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 TO_DETAIL_STRING_FUN_INDEX, 193 TO_DETAIL_STRING_FUN_INDEX,
195 TO_OBJECT_FUN_INDEX, 194 TO_OBJECT_FUN_INDEX,
196 TO_INTEGER_FUN_INDEX, 195 TO_INTEGER_FUN_INDEX,
197 TO_UINT32_FUN_INDEX, 196 TO_UINT32_FUN_INDEX,
198 TO_INT32_FUN_INDEX, 197 TO_INT32_FUN_INDEX,
199 TO_BOOLEAN_FUN_INDEX, 198 TO_BOOLEAN_FUN_INDEX,
200 INSTANTIATE_FUN_INDEX, 199 INSTANTIATE_FUN_INDEX,
201 CONFIGURE_INSTANCE_FUN_INDEX, 200 CONFIGURE_INSTANCE_FUN_INDEX,
202 SPECIAL_FUNCTION_TABLE_INDEX, 201 SPECIAL_FUNCTION_TABLE_INDEX,
203 MESSAGE_LISTENERS_INDEX, 202 MESSAGE_LISTENERS_INDEX,
204 DEBUG_EVENT_LISTENERS_INDEX,
205 MAKE_MESSAGE_FUN_INDEX, 203 MAKE_MESSAGE_FUN_INDEX,
206 GET_STACK_TRACE_LINE_INDEX, 204 GET_STACK_TRACE_LINE_INDEX,
207 CONFIGURE_GLOBAL_INDEX, 205 CONFIGURE_GLOBAL_INDEX,
208 FUNCTION_CACHE_INDEX, 206 FUNCTION_CACHE_INDEX,
209 RUNTIME_CONTEXT_INDEX, 207 RUNTIME_CONTEXT_INDEX,
210 CALL_AS_FUNCTION_DELEGATE_INDEX, 208 CALL_AS_FUNCTION_DELEGATE_INDEX,
211 EMPTY_SCRIPT_INDEX, 209 EMPTY_SCRIPT_INDEX,
212 SCRIPT_FUNCTION_INDEX, 210 SCRIPT_FUNCTION_INDEX,
213 CONTEXT_EXTENSION_FUNCTION_INDEX, 211 CONTEXT_EXTENSION_FUNCTION_INDEX,
214 OUT_OF_MEMORY_INDEX, 212 OUT_OF_MEMORY_INDEX,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 #ifdef DEBUG 317 #ifdef DEBUG
320 // Bootstrapping-aware type checks. 318 // Bootstrapping-aware type checks.
321 static bool IsBootstrappingOrContext(Object* object); 319 static bool IsBootstrappingOrContext(Object* object);
322 static bool IsBootstrappingOrGlobalObject(Object* object); 320 static bool IsBootstrappingOrGlobalObject(Object* object);
323 #endif 321 #endif
324 }; 322 };
325 323
326 } } // namespace v8::internal 324 } } // namespace v8::internal
327 325
328 #endif // V8_CONTEXTS_H_ 326 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698