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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 v8::FailedAccessCheckCallback failed_access_check_callback_; | 135 v8::FailedAccessCheckCallback failed_access_check_callback_; |
136 | 136 |
137 private: | 137 private: |
138 Address try_catch_handler_address_; | 138 Address try_catch_handler_address_; |
139 }; | 139 }; |
140 | 140 |
141 #define TOP_ADDRESS_LIST(C) \ | 141 #define TOP_ADDRESS_LIST(C) \ |
142 C(handler_address) \ | 142 C(handler_address) \ |
143 C(c_entry_fp_address) \ | 143 C(c_entry_fp_address) \ |
144 C(context_address) \ | 144 C(context_address) \ |
| 145 C(pending_exception_address) \ |
145 C(external_caught_exception_address) | 146 C(external_caught_exception_address) |
146 | 147 |
147 #ifdef ENABLE_LOGGING_AND_PROFILING | 148 #ifdef ENABLE_LOGGING_AND_PROFILING |
148 #define TOP_ADDRESS_LIST_PROF(C) \ | 149 #define TOP_ADDRESS_LIST_PROF(C) \ |
149 C(js_entry_sp_address) | 150 C(js_entry_sp_address) |
150 #else | 151 #else |
151 #define TOP_ADDRESS_LIST_PROF(C) | 152 #define TOP_ADDRESS_LIST_PROF(C) |
152 #endif | 153 #endif |
153 | 154 |
154 | 155 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 static void Unlock() { Top::break_access_->Unlock(); } | 590 static void Unlock() { Top::break_access_->Unlock(); } |
590 | 591 |
591 static bool TryLock() { | 592 static bool TryLock() { |
592 return Top::break_access_->TryLock(); | 593 return Top::break_access_->TryLock(); |
593 } | 594 } |
594 }; | 595 }; |
595 | 596 |
596 } } // namespace v8::internal | 597 } } // namespace v8::internal |
597 | 598 |
598 #endif // V8_TOP_H_ | 599 #endif // V8_TOP_H_ |
OLD | NEW |