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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 } | 88 } |
89 | 89 |
90 | 90 |
91 void ThreadLocalTop::InitializeInternal() { | 91 void ThreadLocalTop::InitializeInternal() { |
92 c_entry_fp_ = 0; | 92 c_entry_fp_ = 0; |
93 handler_ = 0; | 93 handler_ = 0; |
94 #ifdef USE_SIMULATOR | 94 #ifdef USE_SIMULATOR |
95 simulator_ = NULL; | 95 simulator_ = NULL; |
96 #endif | 96 #endif |
97 js_entry_sp_ = NULL; | 97 js_entry_sp_ = NULL; |
98 external_callback_ = NULL; | 98 external_callback_scope_ = NULL; |
99 current_vm_state_ = EXTERNAL; | 99 current_vm_state_ = EXTERNAL; |
100 try_catch_handler_address_ = NULL; | 100 try_catch_handler_address_ = NULL; |
101 context_ = NULL; | 101 context_ = NULL; |
102 thread_id_ = ThreadId::Invalid(); | 102 thread_id_ = ThreadId::Invalid(); |
103 external_caught_exception_ = false; | 103 external_caught_exception_ = false; |
104 failed_access_check_callback_ = NULL; | 104 failed_access_check_callback_ = NULL; |
105 save_context_ = NULL; | 105 save_context_ = NULL; |
106 catcher_ = NULL; | 106 catcher_ = NULL; |
107 top_lookup_result_ = NULL; | 107 top_lookup_result_ = NULL; |
108 | 108 |
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1774 write_iterator_(NULL), | 1774 write_iterator_(NULL), |
1775 global_handles_(NULL), | 1775 global_handles_(NULL), |
1776 context_switcher_(NULL), | 1776 context_switcher_(NULL), |
1777 thread_manager_(NULL), | 1777 thread_manager_(NULL), |
1778 fp_stubs_generated_(false), | 1778 fp_stubs_generated_(false), |
1779 has_installed_extensions_(false), | 1779 has_installed_extensions_(false), |
1780 string_tracker_(NULL), | 1780 string_tracker_(NULL), |
1781 regexp_stack_(NULL), | 1781 regexp_stack_(NULL), |
1782 date_cache_(NULL), | 1782 date_cache_(NULL), |
1783 code_stub_interface_descriptors_(NULL), | 1783 code_stub_interface_descriptors_(NULL), |
1784 context_exit_happened_(false), | |
1785 initialized_from_snapshot_(false), | 1784 initialized_from_snapshot_(false), |
1786 cpu_profiler_(NULL), | 1785 cpu_profiler_(NULL), |
1787 heap_profiler_(NULL), | 1786 heap_profiler_(NULL), |
1788 function_entry_hook_(NULL), | 1787 function_entry_hook_(NULL), |
1789 deferred_handles_head_(NULL), | 1788 deferred_handles_head_(NULL), |
1790 optimizing_compiler_thread_(this), | 1789 optimizing_compiler_thread_(this), |
1791 marking_thread_(NULL), | 1790 marking_thread_(NULL), |
1792 sweeper_thread_(NULL), | 1791 sweeper_thread_(NULL), |
1793 callback_table_(NULL), | 1792 callback_table_(NULL), |
1794 stress_deopt_count_(0) { | 1793 stress_deopt_count_(0) { |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2522 | 2521 |
2523 #ifdef DEBUG | 2522 #ifdef DEBUG |
2524 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2523 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2525 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2524 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2526 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2525 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2527 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2526 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2528 #undef ISOLATE_FIELD_OFFSET | 2527 #undef ISOLATE_FIELD_OFFSET |
2529 #endif | 2528 #endif |
2530 | 2529 |
2531 } } // namespace v8::internal | 2530 } } // namespace v8::internal |
OLD | NEW |