| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 Failure* ReThrow(MaybeObject* exception, MessageLocation* location = NULL); | 608 Failure* ReThrow(MaybeObject* exception, MessageLocation* location = NULL); |
| 609 void ScheduleThrow(Object* exception); | 609 void ScheduleThrow(Object* exception); |
| 610 void ReportPendingMessages(); | 610 void ReportPendingMessages(); |
| 611 Failure* ThrowIllegalOperation(); | 611 Failure* ThrowIllegalOperation(); |
| 612 | 612 |
| 613 // Promote a scheduled exception to pending. Asserts has_scheduled_exception. | 613 // Promote a scheduled exception to pending. Asserts has_scheduled_exception. |
| 614 Failure* PromoteScheduledException(); | 614 Failure* PromoteScheduledException(); |
| 615 void DoThrow(MaybeObject* exception, | 615 void DoThrow(MaybeObject* exception, |
| 616 MessageLocation* location, | 616 MessageLocation* location, |
| 617 const char* message); | 617 const char* message); |
| 618 bool ShouldReturnException(bool* is_caught_externally, | 618 bool ShouldReportException(bool* can_be_caught_externally, |
| 619 bool catchable_by_javascript); | 619 bool catchable_by_javascript); |
| 620 | 620 |
| 621 // Attempts to compute the current source location, storing the | 621 // Attempts to compute the current source location, storing the |
| 622 // result in the target out parameter. | 622 // result in the target out parameter. |
| 623 void ComputeLocation(MessageLocation* target); | 623 void ComputeLocation(MessageLocation* target); |
| 624 | 624 |
| 625 // Override command line flag. | 625 // Override command line flag. |
| 626 void TraceException(bool flag); | 626 void TraceException(bool flag); |
| 627 | 627 |
| 628 // Out of resource exception helpers. | 628 // Out of resource exception helpers. |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 | 1253 |
| 1254 } } // namespace v8::internal | 1254 } } // namespace v8::internal |
| 1255 | 1255 |
| 1256 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1256 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1257 // they're needed. | 1257 // they're needed. |
| 1258 #include "allocation-inl.h" | 1258 #include "allocation-inl.h" |
| 1259 #include "zone-inl.h" | 1259 #include "zone-inl.h" |
| 1260 #include "frames-inl.h" | 1260 #include "frames-inl.h" |
| 1261 | 1261 |
| 1262 #endif // V8_ISOLATE_H_ | 1262 #endif // V8_ISOLATE_H_ |
| OLD | NEW |