| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // unify them later. | 109 // unify them later. |
| 110 MaybeObject* scheduled_exception_; | 110 MaybeObject* scheduled_exception_; |
| 111 bool external_caught_exception_; | 111 bool external_caught_exception_; |
| 112 SaveContext* save_context_; | 112 SaveContext* save_context_; |
| 113 v8::TryCatch* catcher_; | 113 v8::TryCatch* catcher_; |
| 114 | 114 |
| 115 // Stack. | 115 // Stack. |
| 116 Address c_entry_fp_; // the frame pointer of the top c entry frame | 116 Address c_entry_fp_; // the frame pointer of the top c entry frame |
| 117 Address handler_; // try-blocks are chained through the stack | 117 Address handler_; // try-blocks are chained through the stack |
| 118 | 118 |
| 119 #ifdef USE_SIMULATOR | 119 #if defined(USE_SIMULATOR) && \ |
| 120 #ifdef V8_TARGET_ARCH_ARM | 120 (defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS)) |
| 121 Simulator* simulator_; | 121 Simulator* simulator_; |
| 122 #elif V8_TARGET_ARCH_MIPS | |
| 123 assembler::mips::Simulator* simulator_; | |
| 124 #endif | |
| 125 #endif // USE_SIMULATOR | 122 #endif // USE_SIMULATOR |
| 126 | 123 |
| 127 #ifdef ENABLE_LOGGING_AND_PROFILING | 124 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 128 Address js_entry_sp_; // the stack pointer of the bottom js entry frame | 125 Address js_entry_sp_; // the stack pointer of the bottom js entry frame |
| 129 Address external_callback_; // the external callback we're currently in | 126 Address external_callback_; // the external callback we're currently in |
| 130 #endif | 127 #endif |
| 131 | 128 |
| 132 #ifdef ENABLE_VMSTATE_TRACKING | 129 #ifdef ENABLE_VMSTATE_TRACKING |
| 133 StateTag current_vm_state_; | 130 StateTag current_vm_state_; |
| 134 | 131 |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 static void Unlock() { Top::break_access_->Unlock(); } | 596 static void Unlock() { Top::break_access_->Unlock(); } |
| 600 | 597 |
| 601 static bool TryLock() { | 598 static bool TryLock() { |
| 602 return Top::break_access_->TryLock(); | 599 return Top::break_access_->TryLock(); |
| 603 } | 600 } |
| 604 }; | 601 }; |
| 605 | 602 |
| 606 } } // namespace v8::internal | 603 } } // namespace v8::internal |
| 607 | 604 |
| 608 #endif // V8_TOP_H_ | 605 #endif // V8_TOP_H_ |
| OLD | NEW |