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) \ | |
146 C(external_caught_exception_address) | 145 C(external_caught_exception_address) |
147 | 146 |
148 #ifdef ENABLE_LOGGING_AND_PROFILING | 147 #ifdef ENABLE_LOGGING_AND_PROFILING |
149 #define TOP_ADDRESS_LIST_PROF(C) \ | 148 #define TOP_ADDRESS_LIST_PROF(C) \ |
150 C(js_entry_sp_address) | 149 C(js_entry_sp_address) |
151 #else | 150 #else |
152 #define TOP_ADDRESS_LIST_PROF(C) | 151 #define TOP_ADDRESS_LIST_PROF(C) |
153 #endif | 152 #endif |
154 | 153 |
155 | 154 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 static void Unlock() { Top::break_access_->Unlock(); } | 589 static void Unlock() { Top::break_access_->Unlock(); } |
591 | 590 |
592 static bool TryLock() { | 591 static bool TryLock() { |
593 return Top::break_access_->TryLock(); | 592 return Top::break_access_->TryLock(); |
594 } | 593 } |
595 }; | 594 }; |
596 | 595 |
597 } } // namespace v8::internal | 596 } } // namespace v8::internal |
598 | 597 |
599 #endif // V8_TOP_H_ | 598 #endif // V8_TOP_H_ |
OLD | NEW |