| 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 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2517 | 2517 |
| 2518 #ifdef DEBUG | 2518 #ifdef DEBUG |
| 2519 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2519 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 2520 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2520 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 2521 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2521 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 2522 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2522 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 2523 #undef ISOLATE_FIELD_OFFSET | 2523 #undef ISOLATE_FIELD_OFFSET |
| 2524 #endif | 2524 #endif |
| 2525 | 2525 |
| 2526 } } // namespace v8::internal | 2526 } } // namespace v8::internal |
| OLD | NEW |