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

Side by Side Diff: src/isolate.h

Issue 112863002: Merge bleeding_edge 18021:18297 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years 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/ic-inl.h ('k') | src/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 V(Relocatable*, relocatable_top, NULL) \ 355 V(Relocatable*, relocatable_top, NULL) \
356 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 356 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
357 V(Object*, string_stream_current_security_token, NULL) \ 357 V(Object*, string_stream_current_security_token, NULL) \
358 /* TODO(isolates): Release this on destruction? */ \ 358 /* TODO(isolates): Release this on destruction? */ \
359 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 359 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
360 /* Serializer state. */ \ 360 /* Serializer state. */ \
361 V(ExternalReferenceTable*, external_reference_table, NULL) \ 361 V(ExternalReferenceTable*, external_reference_table, NULL) \
362 /* AstNode state. */ \ 362 /* AstNode state. */ \
363 V(int, ast_node_id, 0) \ 363 V(int, ast_node_id, 0) \
364 V(unsigned, ast_node_count, 0) \ 364 V(unsigned, ast_node_count, 0) \
365 V(bool, observer_delivery_pending, false) \ 365 V(bool, microtask_pending, false) \
366 V(HStatistics*, hstatistics, NULL) \ 366 V(HStatistics*, hstatistics, NULL) \
367 V(HTracer*, htracer, NULL) \ 367 V(HTracer*, htracer, NULL) \
368 V(CodeTracer*, code_tracer, NULL) \ 368 V(CodeTracer*, code_tracer, NULL) \
369 ISOLATE_DEBUGGER_INIT_LIST(V) 369 ISOLATE_DEBUGGER_INIT_LIST(V)
370 370
371 class Isolate { 371 class Isolate {
372 // These forward declarations are required to make the friend declarations in 372 // These forward declarations are required to make the friend declarations in
373 // PerIsolateThreadData work on some older versions of gcc. 373 // PerIsolateThreadData work on some older versions of gcc.
374 class ThreadDataTable; 374 class ThreadDataTable;
375 class EntryStackItem; 375 class EntryStackItem;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 void DoThrow(Object* exception, MessageLocation* location); 781 void DoThrow(Object* exception, MessageLocation* location);
782 // Checks if exception should be reported and finds out if it's 782 // Checks if exception should be reported and finds out if it's
783 // caught externally. 783 // caught externally.
784 bool ShouldReportException(bool* can_be_caught_externally, 784 bool ShouldReportException(bool* can_be_caught_externally,
785 bool catchable_by_javascript); 785 bool catchable_by_javascript);
786 786
787 // Attempts to compute the current source location, storing the 787 // Attempts to compute the current source location, storing the
788 // result in the target out parameter. 788 // result in the target out parameter.
789 void ComputeLocation(MessageLocation* target); 789 void ComputeLocation(MessageLocation* target);
790 790
791 // Override command line flag.
792 void TraceException(bool flag);
793
794 // Out of resource exception helpers. 791 // Out of resource exception helpers.
795 Failure* StackOverflow(); 792 Failure* StackOverflow();
796 Failure* TerminateExecution(); 793 Failure* TerminateExecution();
797 void CancelTerminateExecution(); 794 void CancelTerminateExecution();
798 795
799 // Administration 796 // Administration
800 void Iterate(ObjectVisitor* v); 797 void Iterate(ObjectVisitor* v);
801 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 798 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
802 char* Iterate(ObjectVisitor* v, char* t); 799 char* Iterate(ObjectVisitor* v, char* t);
803 void IterateThread(ThreadVisitor* v, char* t); 800 void IterateThread(ThreadVisitor* v, char* t);
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 } 1579 }
1583 1580
1584 EmbeddedVector<char, 128> filename_; 1581 EmbeddedVector<char, 128> filename_;
1585 FILE* file_; 1582 FILE* file_;
1586 int scope_depth_; 1583 int scope_depth_;
1587 }; 1584 };
1588 1585
1589 } } // namespace v8::internal 1586 } } // namespace v8::internal
1590 1587
1591 #endif // V8_ISOLATE_H_ 1588 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698