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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool external_caught_exception_; | 102 bool external_caught_exception_; |
103 SaveContext* save_context_; | 103 SaveContext* save_context_; |
104 v8::TryCatch* catcher_; | 104 v8::TryCatch* catcher_; |
105 | 105 |
106 // Stack. | 106 // Stack. |
107 Address c_entry_fp_; // the frame pointer of the top c entry frame | 107 Address c_entry_fp_; // the frame pointer of the top c entry frame |
108 Address handler_; // try-blocks are chained through the stack | 108 Address handler_; // try-blocks are chained through the stack |
109 | 109 |
110 #ifdef USE_SIMULATOR | 110 #ifdef USE_SIMULATOR |
111 #ifdef V8_TARGET_ARCH_ARM | 111 #ifdef V8_TARGET_ARCH_ARM |
112 assembler::arm::Simulator* simulator_; | 112 Simulator* simulator_; |
113 #elif V8_TARGET_ARCH_MIPS | 113 #elif V8_TARGET_ARCH_MIPS |
114 assembler::mips::Simulator* simulator_; | 114 assembler::mips::Simulator* simulator_; |
115 #endif | 115 #endif |
116 #endif // USE_SIMULATOR | 116 #endif // USE_SIMULATOR |
117 | 117 |
118 #ifdef ENABLE_LOGGING_AND_PROFILING | 118 #ifdef ENABLE_LOGGING_AND_PROFILING |
119 Address js_entry_sp_; // the stack pointer of the bottom js entry frame | 119 Address js_entry_sp_; // the stack pointer of the bottom js entry frame |
120 Address external_callback_; // the external callback we're currently in | 120 Address external_callback_; // the external callback we're currently in |
121 #endif | 121 #endif |
122 | 122 |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 static void Unlock() { Top::break_access_->Unlock(); } | 588 static void Unlock() { Top::break_access_->Unlock(); } |
589 | 589 |
590 static bool TryLock() { | 590 static bool TryLock() { |
591 return Top::break_access_->TryLock(); | 591 return Top::break_access_->TryLock(); |
592 } | 592 } |
593 }; | 593 }; |
594 | 594 |
595 } } // namespace v8::internal | 595 } } // namespace v8::internal |
596 | 596 |
597 #endif // V8_TOP_H_ | 597 #endif // V8_TOP_H_ |
OLD | NEW |