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 4798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4809 private: | 4809 private: |
4810 // Make it hard to create heap-allocated TryCatch blocks. | 4810 // Make it hard to create heap-allocated TryCatch blocks. |
4811 TryCatch(const TryCatch&); | 4811 TryCatch(const TryCatch&); |
4812 void operator=(const TryCatch&); | 4812 void operator=(const TryCatch&); |
4813 void* operator new(size_t size); | 4813 void* operator new(size_t size); |
4814 void operator delete(void*, size_t); | 4814 void operator delete(void*, size_t); |
4815 | 4815 |
4816 v8::internal::Isolate* isolate_; | 4816 v8::internal::Isolate* isolate_; |
4817 void* next_; | 4817 void* next_; |
4818 void* exception_; | 4818 void* exception_; |
4819 void* message_; | 4819 void* message_obj_; |
| 4820 void* message_script_; |
| 4821 int message_start_pos_; |
| 4822 int message_end_pos_; |
4820 bool is_verbose_ : 1; | 4823 bool is_verbose_ : 1; |
4821 bool can_continue_ : 1; | 4824 bool can_continue_ : 1; |
4822 bool capture_message_ : 1; | 4825 bool capture_message_ : 1; |
4823 bool rethrow_ : 1; | 4826 bool rethrow_ : 1; |
4824 bool has_terminated_ : 1; | 4827 bool has_terminated_ : 1; |
4825 | 4828 |
4826 friend class v8::internal::Isolate; | 4829 friend class v8::internal::Isolate; |
4827 }; | 4830 }; |
4828 | 4831 |
4829 | 4832 |
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6453 | 6456 |
6454 | 6457 |
6455 } // namespace v8 | 6458 } // namespace v8 |
6456 | 6459 |
6457 | 6460 |
6458 #undef V8EXPORT | 6461 #undef V8EXPORT |
6459 #undef TYPE_CHECK | 6462 #undef TYPE_CHECK |
6460 | 6463 |
6461 | 6464 |
6462 #endif // V8_H_ | 6465 #endif // V8_H_ |
OLD | NEW |