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

Side by Side Diff: runtime/vm/stack_frame.h

Issue 14831004: Introduce architecture specific headers describing Dart stack frames. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/stack_frame_arm.h » ('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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_STACK_FRAME_H_ 5 #ifndef VM_STACK_FRAME_H_
6 #define VM_STACK_FRAME_H_ 6 #define VM_STACK_FRAME_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/stub_code.h" 10 #include "vm/stub_code.h"
11 11
12 #if defined(TARGET_ARCH_IA32)
13 #include "vm/stack_frame_ia32.h"
14 #elif defined(TARGET_ARCH_X64)
15 #include "vm/stack_frame_x64.h"
16 #elif defined(TARGET_ARCH_ARM)
17 #include "vm/stack_frame_arm.h"
18 #elif defined(TARGET_ARCH_MIPS)
19 #include "vm/stack_frame_mips.h"
20 #else
21 #error Unknown architecture.
22 #endif
23
12 namespace dart { 24 namespace dart {
13 25
14 // Forward declarations. 26 // Forward declarations.
15 class ObjectPointerVisitor; 27 class ObjectPointerVisitor;
16 class RawContext; 28 class RawContext;
17 29
18 30
19 // Generic stack frame. 31 // Generic stack frame.
20 class StackFrame : public ValueObject { 32 class StackFrame : public ValueObject {
21 public: 33 public:
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 uword pc_; 277 uword pc_;
266 GrowableArray<DeoptInstr*> deopt_instructions_; 278 GrowableArray<DeoptInstr*> deopt_instructions_;
267 Array& object_table_; 279 Array& object_table_;
268 280
269 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator); 281 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator);
270 }; 282 };
271 283
272 } // namespace dart 284 } // namespace dart
273 285
274 #endif // VM_STACK_FRAME_H_ 286 #endif // VM_STACK_FRAME_H_
287
OLDNEW
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/stack_frame_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698