| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 public: | 200 public: |
| 201 // Does early low-level initialization that does not depend on the | 201 // Does early low-level initialization that does not depend on the |
| 202 // isolate being present. | 202 // isolate being present. |
| 203 ThreadLocalTop(); | 203 ThreadLocalTop(); |
| 204 | 204 |
| 205 // Initialize the thread data. | 205 // Initialize the thread data. |
| 206 void Initialize(); | 206 void Initialize(); |
| 207 | 207 |
| 208 // Get the top C++ try catch handler or NULL if none are registered. | 208 // Get the top C++ try catch handler or NULL if none are registered. |
| 209 // | 209 // |
| 210 // This method is not guarenteed to return an address that can be | 210 // This method is not guaranteed to return an address that can be |
| 211 // used for comparison with addresses into the JS stack. If such an | 211 // used for comparison with addresses into the JS stack. If such an |
| 212 // address is needed, use try_catch_handler_address. | 212 // address is needed, use try_catch_handler_address. |
| 213 v8::TryCatch* TryCatchHandler(); | 213 v8::TryCatch* TryCatchHandler(); |
| 214 | 214 |
| 215 // Get the address of the top C++ try catch handler or NULL if | 215 // Get the address of the top C++ try catch handler or NULL if |
| 216 // none are registered. | 216 // none are registered. |
| 217 // | 217 // |
| 218 // This method always returns an address that can be compared to | 218 // This method always returns an address that can be compared to |
| 219 // pointers into the JavaScript stack. When running on actual | 219 // pointers into the JavaScript stack. When running on actual |
| 220 // hardware, try_catch_handler_address and TryCatchHandler return | 220 // hardware, try_catch_handler_address and TryCatchHandler return |
| (...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1482 | 1482 |
| 1483 // Mark the native context with out of memory. | 1483 // Mark the native context with out of memory. |
| 1484 inline void Context::mark_out_of_memory() { | 1484 inline void Context::mark_out_of_memory() { |
| 1485 native_context()->set_out_of_memory(HEAP->true_value()); | 1485 native_context()->set_out_of_memory(HEAP->true_value()); |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 | 1488 |
| 1489 } } // namespace v8::internal | 1489 } } // namespace v8::internal |
| 1490 | 1490 |
| 1491 #endif // V8_ISOLATE_H_ | 1491 #endif // V8_ISOLATE_H_ |
| OLD | NEW |