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

Side by Side Diff: vm/code_generator_x64.h

Issue 10375059: Use a reserved stack local variable to store the Code object so that it can be looked up easily whe… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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_CODE_GENERATOR_X64_H_ 5 #ifndef VM_CODE_GENERATOR_X64_H_
6 #define VM_CODE_GENERATOR_X64_H_ 6 #define VM_CODE_GENERATOR_X64_H_
7 7
8 #ifndef VM_CODE_GENERATOR_H_ 8 #ifndef VM_CODE_GENERATOR_H_
9 #error Do not include code_generator_x64.h directly; use code_generator.h. 9 #error Do not include code_generator_x64.h directly; use code_generator.h.
10 #endif 10 #endif
11 11
12 #include "vm/assembler.h"
13 #include "vm/assembler_macros.h"
srdjan 2012/05/14 20:00:17 Why are these imports needed?
siva 2012/05/15 23:52:39 Removed these includes here and moved it to stub_g
12 #include "vm/ast.h" 14 #include "vm/ast.h"
13 #include "vm/growable_array.h" 15 #include "vm/growable_array.h"
14 16
15 namespace dart { 17 namespace dart {
16 18
17 // Forward declarations. 19 // Forward declarations.
18 class Assembler; 20 class Assembler;
19 class AstNode; 21 class AstNode;
20 class ParsedFunction; 22 class ParsedFunction;
21 23
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class DescriptorList; 59 class DescriptorList;
58 60
59 DescriptorList* pc_descriptors_list_; 61 DescriptorList* pc_descriptors_list_;
60 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator); 62 DISALLOW_IMPLICIT_CONSTRUCTORS(CodeGenerator);
61 }; 63 };
62 64
63 65
64 } // namespace dart 66 } // namespace dart
65 67
66 #endif // VM_CODE_GENERATOR_X64_H_ 68 #endif // VM_CODE_GENERATOR_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698