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 1659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1670 simulator_initialized_ = false; | 1670 simulator_initialized_ = false; |
1671 simulator_i_cache_ = NULL; | 1671 simulator_i_cache_ = NULL; |
1672 simulator_redirection_ = NULL; | 1672 simulator_redirection_ = NULL; |
1673 #endif | 1673 #endif |
1674 | 1674 |
1675 #ifdef DEBUG | 1675 #ifdef DEBUG |
1676 // heap_histograms_ initializes itself. | 1676 // heap_histograms_ initializes itself. |
1677 memset(&js_spill_information_, 0, sizeof(js_spill_information_)); | 1677 memset(&js_spill_information_, 0, sizeof(js_spill_information_)); |
1678 memset(code_kind_statistics_, 0, | 1678 memset(code_kind_statistics_, 0, |
1679 sizeof(code_kind_statistics_[0]) * Code::NUMBER_OF_KINDS); | 1679 sizeof(code_kind_statistics_[0]) * Code::NUMBER_OF_KINDS); |
| 1680 |
| 1681 allow_handle_deref_ = true; |
1680 #endif | 1682 #endif |
1681 | 1683 |
1682 #ifdef ENABLE_DEBUGGER_SUPPORT | 1684 #ifdef ENABLE_DEBUGGER_SUPPORT |
1683 debug_ = NULL; | 1685 debug_ = NULL; |
1684 debugger_ = NULL; | 1686 debugger_ = NULL; |
1685 #endif | 1687 #endif |
1686 | 1688 |
1687 handle_scope_data_.Initialize(); | 1689 handle_scope_data_.Initialize(); |
1688 | 1690 |
1689 #define ISOLATE_INIT_EXECUTE(type, name, initial_value) \ | 1691 #define ISOLATE_INIT_EXECUTE(type, name, initial_value) \ |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2215 | 2217 |
2216 #ifdef DEBUG | 2218 #ifdef DEBUG |
2217 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2219 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2218 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2220 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2219 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2221 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2220 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2222 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2221 #undef ISOLATE_FIELD_OFFSET | 2223 #undef ISOLATE_FIELD_OFFSET |
2222 #endif | 2224 #endif |
2223 | 2225 |
2224 } } // namespace v8::internal | 2226 } } // namespace v8::internal |
OLD | NEW |