| 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 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 | 991 |
| 992 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 992 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 993 interp_canonicalize_mapping() { | 993 interp_canonicalize_mapping() { |
| 994 return &interp_canonicalize_mapping_; | 994 return &interp_canonicalize_mapping_; |
| 995 } | 995 } |
| 996 | 996 |
| 997 void* PreallocatedStorageNew(size_t size); | 997 void* PreallocatedStorageNew(size_t size); |
| 998 void PreallocatedStorageDelete(void* p); | 998 void PreallocatedStorageDelete(void* p); |
| 999 void PreallocatedStorageInit(size_t size); | 999 void PreallocatedStorageInit(size_t size); |
| 1000 | 1000 |
| 1001 inline bool IsCodePreAgingActive(); |
| 1002 |
| 1001 #ifdef ENABLE_DEBUGGER_SUPPORT | 1003 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 1002 Debugger* debugger() { | 1004 Debugger* debugger() { |
| 1003 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); | 1005 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); |
| 1004 return debugger_; | 1006 return debugger_; |
| 1005 } | 1007 } |
| 1006 Debug* debug() { | 1008 Debug* debug() { |
| 1007 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); | 1009 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); |
| 1008 return debug_; | 1010 return debug_; |
| 1009 } | 1011 } |
| 1010 #endif | 1012 #endif |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1508 | 1510 |
| 1509 // Mark the native context with out of memory. | 1511 // Mark the native context with out of memory. |
| 1510 inline void Context::mark_out_of_memory() { | 1512 inline void Context::mark_out_of_memory() { |
| 1511 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); | 1513 native_context()->set_out_of_memory(GetIsolate()->heap()->true_value()); |
| 1512 } | 1514 } |
| 1513 | 1515 |
| 1514 | 1516 |
| 1515 } } // namespace v8::internal | 1517 } } // namespace v8::internal |
| 1516 | 1518 |
| 1517 #endif // V8_ISOLATE_H_ | 1519 #endif // V8_ISOLATE_H_ |
| OLD | NEW |