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

Side by Side Diff: src/top.h

Issue 4044003: Clean up definitions in simulator. ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/simulator-ia32.h ('k') | src/top.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11 matching lines...) Expand all
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #ifndef V8_TOP_H_ 28 #ifndef V8_TOP_H_
29 #define V8_TOP_H_ 29 #define V8_TOP_H_
30 30
31 #include "frames-inl.h" 31 #include "frames-inl.h"
32 #include "simulator.h"
32 33
33 namespace v8 { 34 namespace v8 {
34 namespace internal { 35 namespace internal {
35 36
36 37
37 #define RETURN_IF_SCHEDULED_EXCEPTION() \ 38 #define RETURN_IF_SCHEDULED_EXCEPTION() \
38 if (Top::has_scheduled_exception()) return Top::PromoteScheduledException() 39 if (Top::has_scheduled_exception()) return Top::PromoteScheduledException()
39 40
40 // Top has static variables used for JavaScript execution. 41 // Top has static variables used for JavaScript execution.
41 42
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // unify them later. 97 // unify them later.
97 MaybeObject* scheduled_exception_; 98 MaybeObject* scheduled_exception_;
98 bool external_caught_exception_; 99 bool external_caught_exception_;
99 SaveContext* save_context_; 100 SaveContext* save_context_;
100 v8::TryCatch* catcher_; 101 v8::TryCatch* catcher_;
101 102
102 // Stack. 103 // Stack.
103 Address c_entry_fp_; // the frame pointer of the top c entry frame 104 Address c_entry_fp_; // the frame pointer of the top c entry frame
104 Address handler_; // try-blocks are chained through the stack 105 Address handler_; // try-blocks are chained through the stack
105 106
107 #ifdef USE_SIMULATOR
108 assembler::arm::Simulator* simulator_;
109 #endif // USE_SIMULATOR
110
106 #ifdef ENABLE_LOGGING_AND_PROFILING 111 #ifdef ENABLE_LOGGING_AND_PROFILING
107 Address js_entry_sp_; // the stack pointer of the bottom js entry frame 112 Address js_entry_sp_; // the stack pointer of the bottom js entry frame
108 #endif 113 #endif
109 114
110 #ifdef ENABLE_VMSTATE_TRACKING 115 #ifdef ENABLE_VMSTATE_TRACKING
111 VMState* current_vm_state_; 116 VMState* current_vm_state_;
112 #endif 117 #endif
113 118
114 // Generated code scratch locations. 119 // Generated code scratch locations.
115 int32_t formal_count_; 120 int32_t formal_count_;
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 467
463 class ExecutionAccess BASE_EMBEDDED { 468 class ExecutionAccess BASE_EMBEDDED {
464 public: 469 public:
465 ExecutionAccess(); 470 ExecutionAccess();
466 ~ExecutionAccess(); 471 ~ExecutionAccess();
467 }; 472 };
468 473
469 } } // namespace v8::internal 474 } } // namespace v8::internal
470 475
471 #endif // V8_TOP_H_ 476 #endif // V8_TOP_H_
OLDNEW
« no previous file with comments | « src/ia32/simulator-ia32.h ('k') | src/top.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698