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 5256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5267 * restored when the new context is exited. | 5267 * restored when the new context is exited. |
5268 */ | 5268 */ |
5269 void Enter(); | 5269 void Enter(); |
5270 | 5270 |
5271 /** | 5271 /** |
5272 * Exit this context. Exiting the current context restores the | 5272 * Exit this context. Exiting the current context restores the |
5273 * context that was in place when entering the current context. | 5273 * context that was in place when entering the current context. |
5274 */ | 5274 */ |
5275 void Exit(); | 5275 void Exit(); |
5276 | 5276 |
5277 /** Returns true if the context has experienced an out of memory situation. */ | |
5278 bool HasOutOfMemoryException() { return false; } | |
Paweł Hajdan Jr.
2014/04/07 10:26:45
Why isn't this going through deprecation process f
| |
5279 | |
5280 /** Returns an isolate associated with a current context. */ | 5277 /** Returns an isolate associated with a current context. */ |
5281 v8::Isolate* GetIsolate(); | 5278 v8::Isolate* GetIsolate(); |
5282 | 5279 |
5283 /** | 5280 /** |
5284 * Gets the embedder data with the given index, which must have been set by a | 5281 * Gets the embedder data with the given index, which must have been set by a |
5285 * previous call to SetEmbedderData with the same index. Note that index 0 | 5282 * previous call to SetEmbedderData with the same index. Note that index 0 |
5286 * currently has a special meaning for Chrome's debugger. | 5283 * currently has a special meaning for Chrome's debugger. |
5287 */ | 5284 */ |
5288 V8_INLINE Local<Value> GetEmbedderData(int index); | 5285 V8_INLINE Local<Value> GetEmbedderData(int index); |
5289 | 5286 |
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6684 */ | 6681 */ |
6685 | 6682 |
6686 | 6683 |
6687 } // namespace v8 | 6684 } // namespace v8 |
6688 | 6685 |
6689 | 6686 |
6690 #undef TYPE_CHECK | 6687 #undef TYPE_CHECK |
6691 | 6688 |
6692 | 6689 |
6693 #endif // V8_H_ | 6690 #endif // V8_H_ |
OLD | NEW |