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

Side by Side Diff: src/isolate.h

Issue 6771047: Move SafeStackFrameIterator::active_count_ into an isolate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Moved variable to Isolate, as Vitaly has suggested Created 9 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
« src/frames.cc ('K') | « src/frames.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 V(bool, jump_target_compiling_deferred_code, false) \ 309 V(bool, jump_target_compiling_deferred_code, false) \
310 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 310 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
311 V(Object*, string_stream_current_security_token, NULL) \ 311 V(Object*, string_stream_current_security_token, NULL) \
312 /* TODO(isolates): Release this on destruction? */ \ 312 /* TODO(isolates): Release this on destruction? */ \
313 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 313 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
314 /* Serializer state. */ \ 314 /* Serializer state. */ \
315 V(ExternalReferenceTable*, external_reference_table, NULL) \ 315 V(ExternalReferenceTable*, external_reference_table, NULL) \
316 /* AstNode state. */ \ 316 /* AstNode state. */ \
317 V(unsigned, ast_node_id, 0) \ 317 V(unsigned, ast_node_id, 0) \
318 V(unsigned, ast_node_count, 0) \ 318 V(unsigned, ast_node_count, 0) \
319 /* SafeStackFrameIterator activations count. */ \
320 V(int, safe_stack_iterator_counter, 0) \
319 ISOLATE_PLATFORM_INIT_LIST(V) \ 321 ISOLATE_PLATFORM_INIT_LIST(V) \
320 ISOLATE_LOGGING_INIT_LIST(V) \ 322 ISOLATE_LOGGING_INIT_LIST(V) \
321 ISOLATE_DEBUGGER_INIT_LIST(V) 323 ISOLATE_DEBUGGER_INIT_LIST(V)
322 324
323 class Isolate { 325 class Isolate {
324 // These forward declarations are required to make the friend declarations in 326 // These forward declarations are required to make the friend declarations in
325 // PerIsolateThreadData work on some older versions of gcc. 327 // PerIsolateThreadData work on some older versions of gcc.
326 class ThreadDataTable; 328 class ThreadDataTable;
327 class EntryStackItem; 329 class EntryStackItem;
328 public: 330 public:
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 1297
1296 } } // namespace v8::internal 1298 } } // namespace v8::internal
1297 1299
1298 // TODO(isolates): Get rid of these -inl.h includes and place them only where 1300 // TODO(isolates): Get rid of these -inl.h includes and place them only where
1299 // they're needed. 1301 // they're needed.
1300 #include "allocation-inl.h" 1302 #include "allocation-inl.h"
1301 #include "zone-inl.h" 1303 #include "zone-inl.h"
1302 #include "frames-inl.h" 1304 #include "frames-inl.h"
1303 1305
1304 #endif // V8_ISOLATE_H_ 1306 #endif // V8_ISOLATE_H_
OLDNEW
« src/frames.cc ('K') | « src/frames.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698