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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 Debugger* debugger() { | 922 Debugger* debugger() { |
923 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); | 923 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); |
924 return debugger_; | 924 return debugger_; |
925 } | 925 } |
926 Debug* debug() { | 926 Debug* debug() { |
927 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); | 927 if (!NoBarrier_Load(&debugger_initialized_)) InitializeDebugger(); |
928 return debug_; | 928 return debug_; |
929 } | 929 } |
930 #endif | 930 #endif |
931 | 931 |
| 932 inline bool IsDebuggerActive(); |
932 inline bool DebuggerHasBreakPoints(); | 933 inline bool DebuggerHasBreakPoints(); |
933 | 934 |
934 #ifdef DEBUG | 935 #ifdef DEBUG |
935 HistogramInfo* heap_histograms() { return heap_histograms_; } | 936 HistogramInfo* heap_histograms() { return heap_histograms_; } |
936 | 937 |
937 JSObject::SpillInformation* js_spill_information() { | 938 JSObject::SpillInformation* js_spill_information() { |
938 return &js_spill_information_; | 939 return &js_spill_information_; |
939 } | 940 } |
940 | 941 |
941 int* code_kind_statistics() { return code_kind_statistics_; } | 942 int* code_kind_statistics() { return code_kind_statistics_; } |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 | 1398 |
1398 // Mark the global context with out of memory. | 1399 // Mark the global context with out of memory. |
1399 inline void Context::mark_out_of_memory() { | 1400 inline void Context::mark_out_of_memory() { |
1400 global_context()->set_out_of_memory(HEAP->true_value()); | 1401 global_context()->set_out_of_memory(HEAP->true_value()); |
1401 } | 1402 } |
1402 | 1403 |
1403 | 1404 |
1404 } } // namespace v8::internal | 1405 } } // namespace v8::internal |
1405 | 1406 |
1406 #endif // V8_ISOLATE_H_ | 1407 #endif // V8_ISOLATE_H_ |
OLD | NEW |