OLD | NEW |
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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 // Attempts to compute the current source location, storing the | 758 // Attempts to compute the current source location, storing the |
759 // result in the target out parameter. | 759 // result in the target out parameter. |
760 void ComputeLocation(MessageLocation* target); | 760 void ComputeLocation(MessageLocation* target); |
761 | 761 |
762 // Override command line flag. | 762 // Override command line flag. |
763 void TraceException(bool flag); | 763 void TraceException(bool flag); |
764 | 764 |
765 // Out of resource exception helpers. | 765 // Out of resource exception helpers. |
766 Failure* StackOverflow(); | 766 Failure* StackOverflow(); |
767 Failure* TerminateExecution(); | 767 Failure* TerminateExecution(); |
768 void ResumeExecution(); | |
769 | 768 |
770 // Administration | 769 // Administration |
771 void Iterate(ObjectVisitor* v); | 770 void Iterate(ObjectVisitor* v); |
772 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); | 771 void Iterate(ObjectVisitor* v, ThreadLocalTop* t); |
773 char* Iterate(ObjectVisitor* v, char* t); | 772 char* Iterate(ObjectVisitor* v, char* t); |
774 void IterateThread(ThreadVisitor* v, char* t); | 773 void IterateThread(ThreadVisitor* v, char* t); |
775 | 774 |
776 | 775 |
777 // Returns the current native and global context. | 776 // Returns the current native and global context. |
778 Handle<Context> native_context(); | 777 Handle<Context> native_context(); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 | 1438 |
1440 // Mark the native context with out of memory. | 1439 // Mark the native context with out of memory. |
1441 inline void Context::mark_out_of_memory() { | 1440 inline void Context::mark_out_of_memory() { |
1442 native_context()->set_out_of_memory(HEAP->true_value()); | 1441 native_context()->set_out_of_memory(HEAP->true_value()); |
1443 } | 1442 } |
1444 | 1443 |
1445 | 1444 |
1446 } } // namespace v8::internal | 1445 } } // namespace v8::internal |
1447 | 1446 |
1448 #endif // V8_ISOLATE_H_ | 1447 #endif // V8_ISOLATE_H_ |
OLD | NEW |