| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 class StackFrame; | 111 class StackFrame; |
| 112 class Isolate; | 112 class Isolate; |
| 113 | 113 |
| 114 namespace internal { | 114 namespace internal { |
| 115 | 115 |
| 116 class Arguments; | 116 class Arguments; |
| 117 class Object; | 117 class Object; |
| 118 class Heap; | 118 class Heap; |
| 119 class HeapObject; | 119 class HeapObject; |
| 120 class Isolate; | 120 class Isolate; |
| 121 class Serializer; |
| 121 } | 122 } |
| 122 | 123 |
| 123 | 124 |
| 124 // --- Weak Handles --- | 125 // --- Weak Handles --- |
| 125 | 126 |
| 126 | 127 |
| 127 /** | 128 /** |
| 128 * A weak reference callback function. | 129 * A weak reference callback function. |
| 129 * | 130 * |
| 130 * This callback should either explicitly invoke Dispose on |object| if | 131 * This callback should either explicitly invoke Dispose on |object| if |
| (...skipping 3204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3335 * Creates a new try/catch block and registers it with v8. | 3336 * Creates a new try/catch block and registers it with v8. |
| 3336 */ | 3337 */ |
| 3337 TryCatch(); | 3338 TryCatch(); |
| 3338 | 3339 |
| 3339 /** | 3340 /** |
| 3340 * Unregisters and deletes this try/catch block. | 3341 * Unregisters and deletes this try/catch block. |
| 3341 */ | 3342 */ |
| 3342 ~TryCatch(); | 3343 ~TryCatch(); |
| 3343 | 3344 |
| 3344 /** | 3345 /** |
| 3346 * Not for normal use. |
| 3347 */ |
| 3348 TryCatch(const v8::internal::Serializer* serializer); |
| 3349 |
| 3350 /** |
| 3345 * Returns true if an exception has been caught by this try/catch block. | 3351 * Returns true if an exception has been caught by this try/catch block. |
| 3346 */ | 3352 */ |
| 3347 bool HasCaught() const; | 3353 bool HasCaught() const; |
| 3348 | 3354 |
| 3349 /** | 3355 /** |
| 3350 * For certain types of exceptions, it makes no sense to continue | 3356 * For certain types of exceptions, it makes no sense to continue |
| 3351 * execution. | 3357 * execution. |
| 3352 * | 3358 * |
| 3353 * Currently, the only type of exception that can be caught by a | 3359 * Currently, the only type of exception that can be caught by a |
| 3354 * TryCatch handler and for which it does not make sense to continue | 3360 * TryCatch handler and for which it does not make sense to continue |
| (...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4474 | 4480 |
| 4475 | 4481 |
| 4476 } // namespace v8 | 4482 } // namespace v8 |
| 4477 | 4483 |
| 4478 | 4484 |
| 4479 #undef V8EXPORT | 4485 #undef V8EXPORT |
| 4480 #undef TYPE_CHECK | 4486 #undef TYPE_CHECK |
| 4481 | 4487 |
| 4482 | 4488 |
| 4483 #endif // V8_H_ | 4489 #endif // V8_H_ |
| OLD | NEW |