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

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 8 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
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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Attempts to compute the current source location, storing the 752 // Attempts to compute the current source location, storing the
753 // result in the target out parameter. 753 // result in the target out parameter.
754 void ComputeLocation(MessageLocation* target); 754 void ComputeLocation(MessageLocation* target);
755 755
756 // Override command line flag. 756 // Override command line flag.
757 void TraceException(bool flag); 757 void TraceException(bool flag);
758 758
759 // Out of resource exception helpers. 759 // Out of resource exception helpers.
760 Failure* StackOverflow(); 760 Failure* StackOverflow();
761 Failure* TerminateExecution(); 761 Failure* TerminateExecution();
762 void ResumeExecution();
762 763
763 // Administration 764 // Administration
764 void Iterate(ObjectVisitor* v); 765 void Iterate(ObjectVisitor* v);
765 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 766 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
766 char* Iterate(ObjectVisitor* v, char* t); 767 char* Iterate(ObjectVisitor* v, char* t);
767 void IterateThread(ThreadVisitor* v); 768 void IterateThread(ThreadVisitor* v);
768 void IterateThread(ThreadVisitor* v, char* t); 769 void IterateThread(ThreadVisitor* v, char* t);
769 770
770 771
771 // Returns the current native and global context. 772 // Returns the current native and global context.
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 1445
1445 // Mark the native context with out of memory. 1446 // Mark the native context with out of memory.
1446 inline void Context::mark_out_of_memory() { 1447 inline void Context::mark_out_of_memory() {
1447 native_context()->set_out_of_memory(HEAP->true_value()); 1448 native_context()->set_out_of_memory(HEAP->true_value());
1448 } 1449 }
1449 1450
1450 1451
1451 } } // namespace v8::internal 1452 } } // namespace v8::internal
1452 1453
1453 #endif // V8_ISOLATE_H_ 1454 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698