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