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

Side by Side Diff: src/isolate.h

Issue 14401008: Add methods to allow resuming execution after calling TerminateExecution(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
« no previous file with comments | « src/execution.cc ('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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 // Attempts to compute the current source location, storing the 776 // Attempts to compute the current source location, storing the
777 // result in the target out parameter. 777 // result in the target out parameter.
778 void ComputeLocation(MessageLocation* target); 778 void ComputeLocation(MessageLocation* target);
779 779
780 // Override command line flag. 780 // Override command line flag.
781 void TraceException(bool flag); 781 void TraceException(bool flag);
782 782
783 // Out of resource exception helpers. 783 // Out of resource exception helpers.
784 Failure* StackOverflow(); 784 Failure* StackOverflow();
785 Failure* TerminateExecution(); 785 Failure* TerminateExecution();
786 void CancelTerminateExecution();
786 787
787 // Administration 788 // Administration
788 void Iterate(ObjectVisitor* v); 789 void Iterate(ObjectVisitor* v);
789 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); 790 void Iterate(ObjectVisitor* v, ThreadLocalTop* t);
790 char* Iterate(ObjectVisitor* v, char* t); 791 char* Iterate(ObjectVisitor* v, char* t);
791 void IterateThread(ThreadVisitor* v, char* t); 792 void IterateThread(ThreadVisitor* v, char* t);
792 793
793 794
794 // Returns the current native and global context. 795 // Returns the current native and global context.
795 Handle<Context> native_context(); 796 Handle<Context> native_context();
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 1478
1478 // Mark the native context with out of memory. 1479 // Mark the native context with out of memory.
1479 inline void Context::mark_out_of_memory() { 1480 inline void Context::mark_out_of_memory() {
1480 native_context()->set_out_of_memory(HEAP->true_value()); 1481 native_context()->set_out_of_memory(HEAP->true_value());
1481 } 1482 }
1482 1483
1483 1484
1484 } } // namespace v8::internal 1485 } } // namespace v8::internal
1485 1486
1486 #endif // V8_ISOLATE_H_ 1487 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698