Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: src/top.h

Issue 6709022: Re-establish mips basic infrastructure. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« src/objects-inl.h ('K') | « src/regexp-macro-assembler.h ('k') | src/top.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698