Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 3241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3252 void SetVerbose(bool value); | 3252 void SetVerbose(bool value); |
| 3253 | 3253 |
| 3254 /** | 3254 /** |
| 3255 * Set whether or not this TryCatch should capture a Message object | 3255 * Set whether or not this TryCatch should capture a Message object |
| 3256 * which holds source information about where the exception | 3256 * which holds source information about where the exception |
| 3257 * occurred. True by default. | 3257 * occurred. True by default. |
| 3258 */ | 3258 */ |
| 3259 void SetCaptureMessage(bool value); | 3259 void SetCaptureMessage(bool value); |
| 3260 | 3260 |
| 3261 private: | 3261 private: |
| 3262 v8::internal::Isolate* isolate_; | |
|
Vyacheslav Egorov (Chromium)
2011/06/07 14:58:26
I think it's the first time when we actually use v
Vitaly Repeshko
2011/06/07 15:01:30
We already use it in a few places. It doesn't real
| |
| 3262 void* next_; | 3263 void* next_; |
| 3263 void* exception_; | 3264 void* exception_; |
| 3264 void* message_; | 3265 void* message_; |
| 3265 bool is_verbose_ : 1; | 3266 bool is_verbose_ : 1; |
| 3266 bool can_continue_ : 1; | 3267 bool can_continue_ : 1; |
| 3267 bool capture_message_ : 1; | 3268 bool capture_message_ : 1; |
| 3268 bool rethrow_ : 1; | 3269 bool rethrow_ : 1; |
| 3269 | 3270 |
| 3270 friend class v8::internal::Isolate; | 3271 friend class v8::internal::Isolate; |
| 3271 }; | 3272 }; |
| (...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4137 | 4138 |
| 4138 | 4139 |
| 4139 } // namespace v8 | 4140 } // namespace v8 |
| 4140 | 4141 |
| 4141 | 4142 |
| 4142 #undef V8EXPORT | 4143 #undef V8EXPORT |
| 4143 #undef TYPE_CHECK | 4144 #undef TYPE_CHECK |
| 4144 | 4145 |
| 4145 | 4146 |
| 4146 #endif // V8_H_ | 4147 #endif // V8_H_ |
| OLD | NEW |