| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return TRY_CATCH_FROM_ADDRESS(try_catch_handler_address()); | 62 return TRY_CATCH_FROM_ADDRESS(try_catch_handler_address()); |
| 63 } | 63 } |
| 64 | 64 |
| 65 | 65 |
| 66 void ThreadLocalTop::Initialize() { | 66 void ThreadLocalTop::Initialize() { |
| 67 c_entry_fp_ = 0; | 67 c_entry_fp_ = 0; |
| 68 handler_ = 0; | 68 handler_ = 0; |
| 69 #ifdef ENABLE_LOGGING_AND_PROFILING | 69 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 70 js_entry_sp_ = 0; | 70 js_entry_sp_ = 0; |
| 71 #endif | 71 #endif |
| 72 #ifdef ENABLE_VMSTATE_TRACKING |
| 73 current_vm_state_ = NULL; |
| 74 #endif |
| 72 try_catch_handler_address_ = NULL; | 75 try_catch_handler_address_ = NULL; |
| 73 context_ = NULL; | 76 context_ = NULL; |
| 74 int id = ThreadManager::CurrentId(); | 77 int id = ThreadManager::CurrentId(); |
| 75 thread_id_ = (id == 0) ? ThreadManager::kInvalidId : id; | 78 thread_id_ = (id == 0) ? ThreadManager::kInvalidId : id; |
| 76 external_caught_exception_ = false; | 79 external_caught_exception_ = false; |
| 77 failed_access_check_callback_ = NULL; | 80 failed_access_check_callback_ = NULL; |
| 78 save_context_ = NULL; | 81 save_context_ = NULL; |
| 79 catcher_ = NULL; | 82 catcher_ = NULL; |
| 80 } | 83 } |
| 81 | 84 |
| (...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 Top::break_access_->Lock(); | 1043 Top::break_access_->Lock(); |
| 1041 } | 1044 } |
| 1042 | 1045 |
| 1043 | 1046 |
| 1044 ExecutionAccess::~ExecutionAccess() { | 1047 ExecutionAccess::~ExecutionAccess() { |
| 1045 Top::break_access_->Unlock(); | 1048 Top::break_access_->Unlock(); |
| 1046 } | 1049 } |
| 1047 | 1050 |
| 1048 | 1051 |
| 1049 } } // namespace v8::internal | 1052 } } // namespace v8::internal |
| OLD | NEW |