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 4779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4790 private: | 4790 private: |
4791 // Make it hard to create heap-allocated TryCatch blocks. | 4791 // Make it hard to create heap-allocated TryCatch blocks. |
4792 TryCatch(const TryCatch&); | 4792 TryCatch(const TryCatch&); |
4793 void operator=(const TryCatch&); | 4793 void operator=(const TryCatch&); |
4794 void* operator new(size_t size); | 4794 void* operator new(size_t size); |
4795 void operator delete(void*, size_t); | 4795 void operator delete(void*, size_t); |
4796 | 4796 |
4797 v8::internal::Isolate* isolate_; | 4797 v8::internal::Isolate* isolate_; |
4798 void* next_; | 4798 void* next_; |
4799 void* exception_; | 4799 void* exception_; |
4800 void* message_; | 4800 void* message_obj_; |
| 4801 void* message_script_; |
| 4802 int message_start_pos_; |
| 4803 int message_end_pos_; |
4801 bool is_verbose_ : 1; | 4804 bool is_verbose_ : 1; |
4802 bool can_continue_ : 1; | 4805 bool can_continue_ : 1; |
4803 bool capture_message_ : 1; | 4806 bool capture_message_ : 1; |
4804 bool rethrow_ : 1; | 4807 bool rethrow_ : 1; |
4805 bool has_terminated_ : 1; | 4808 bool has_terminated_ : 1; |
4806 | 4809 |
4807 friend class v8::internal::Isolate; | 4810 friend class v8::internal::Isolate; |
4808 }; | 4811 }; |
4809 | 4812 |
4810 | 4813 |
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6434 | 6437 |
6435 | 6438 |
6436 } // namespace v8 | 6439 } // namespace v8 |
6437 | 6440 |
6438 | 6441 |
6439 #undef V8EXPORT | 6442 #undef V8EXPORT |
6440 #undef TYPE_CHECK | 6443 #undef TYPE_CHECK |
6441 | 6444 |
6442 | 6445 |
6443 #endif // V8_H_ | 6446 #endif // V8_H_ |
OLD | NEW |