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

Side by Side Diff: src/isolate.h

Issue 11142013: Add methods to allow resuming execution after calling TerminateExecution(). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 9 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 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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 // Attempts to compute the current source location, storing the 777 // Attempts to compute the current source location, storing the
778 // result in the target out parameter. 778 // result in the target out parameter.
779 void ComputeLocation(MessageLocation* target); 779 void ComputeLocation(MessageLocation* target);
780 780
781 // Override command line flag. 781 // Override command line flag.
782 void TraceException(bool flag); 782 void TraceException(bool flag);
783 783
784 // Out of resource exception helpers. 784 // Out of resource exception helpers.
785 Failure* StackOverflow(); 785 Failure* StackOverflow();
786 Failure* TerminateExecution(); 786 Failure* TerminateExecution();
787 void CancelTerminateExecution();
787 788
788 // Administration 789 // Administration
789 void Iterate(ObjectVisitor* v); 790 void Iterate(ObjectVisitor* v);
790 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 791 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
791 char* Iterate(ObjectVisitor* v, char* t); 792 char* Iterate(ObjectVisitor* v, char* t);
792 void IterateThread(ThreadVisitor* v, char* t); 793 void IterateThread(ThreadVisitor* v, char* t);
793 794
794 795
795 // Returns the current native and global context. 796 // Returns the current native and global context.
796 Handle<Context> native_context(); 797 Handle<Context> native_context();
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 1492
1492 // Mark the native context with out of memory. 1493 // Mark the native context with out of memory.
1493 inline void Context::mark_out_of_memory() { 1494 inline void Context::mark_out_of_memory() {
1494 native_context()->set_out_of_memory(HEAP->true_value()); 1495 native_context()->set_out_of_memory(HEAP->true_value());
1495 } 1496 }
1496 1497
1497 1498
1498 } } // namespace v8::internal 1499 } } // namespace v8::internal
1499 1500
1500 #endif // V8_ISOLATE_H_ 1501 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/isolate.cc » ('j') | test/cctest/test-thread-termination.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698