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

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

Issue 8760015: Disable x64 disassembler under win32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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/assembler_macros.h ('k') | runtime/vm/assembler_macros_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4 // The class 'AssemblerMacros' contains assembler instruction groups that
5 // are used in Dart.
6
7 #ifndef VM_ASSEMBLER_MACROS_X64_H_
8 #define VM_ASSEMBLER_MACROS_X64_H_
9
10 #ifndef VM_ASSEMBLER_MACROS_H_
11 #error Do not include assembler_macros_x64.h directly; use assembler_macros.h.
12 #endif
13
14 #include "vm/allocation.h"
15 #include "vm/constants_x64.h"
16
17 namespace dart {
18
19 // Forward declarations.
20 class Assembler;
21 class Class;
22 class Label;
23
24 class AssemblerMacros : public AllStatic {
25 public:
26 // Inlined allocation of an instance of class 'cls', code has no runtime
27 // calls. Jump to 'failure' if the instance cannot be allocated here.
28 // Class must be loaded in 'class_reg'. Allocated instance is returned
29 // in 'instance_reg'. Only the class field of the object is initialized.
30 // 'class_reg' and 'instance_reg' may not be the same register.
31 static void TryAllocate(Assembler* assembler,
32 const Class& cls,
33 Register class_reg,
34 Label* failure,
35 Register instance_reg);
36 };
37
38 } // namespace dart.
39
40 #endif // VM_ASSEMBLER_MACROS_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_macros.h ('k') | runtime/vm/assembler_macros_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698