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

Side by Side Diff: src/IceAssembler.h

Issue 1535233002: Refactor PUSH/POP in ARM assemblers. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove "#if 0' Created 5 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
« no previous file with comments | « no previous file | src/IceAssemblerARM32.h » ('j') | src/IceAssemblerARM32.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceAssembler.h - Integrated assembler --------*- C++ -*-===// 1 //===- subzero/src/IceAssembler.h - Integrated assembler --------*- C++ -*-===//
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 // 5 //
6 // Modified by the Subzero authors. 6 // Modified by the Subzero authors.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // The Subzero Code Generator 10 // The Subzero Code Generator
(...skipping 16 matching lines...) Expand all
27 #define SUBZERO_SRC_ICEASSEMBLER_H 27 #define SUBZERO_SRC_ICEASSEMBLER_H
28 28
29 #include "IceDefs.h" 29 #include "IceDefs.h"
30 #include "IceFixups.h" 30 #include "IceFixups.h"
31 #include "IceUtils.h" 31 #include "IceUtils.h"
32 32
33 namespace Ice { 33 namespace Ice {
34 34
35 class Assembler; 35 class Assembler;
36 36
37 // Defines form that assembly instruction should be synthesized.
John 2016/01/04 15:27:49 This is ARM specific. Please so not add it to targ
Karl 2016/01/05 17:43:02 Moved to IceInstARM32.h
38 enum AssemblyOutputForm { TextualAssembly, BinaryAssembly };
39
37 /// A Label can be in one of three states: 40 /// A Label can be in one of three states:
38 /// - Unused. 41 /// - Unused.
39 /// - Linked, unplaced and tracking the position of branches to the label. 42 /// - Linked, unplaced and tracking the position of branches to the label.
40 /// - Bound, placed and tracking its position. 43 /// - Bound, placed and tracking its position.
41 class Label { 44 class Label {
42 Label(const Label &) = delete; 45 Label(const Label &) = delete;
43 Label &operator=(const Label &) = delete; 46 Label &operator=(const Label &) = delete;
44 47
45 public: 48 public:
46 Label() = default; 49 Label() = default;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 protected: 351 protected:
349 // Buffer's constructor uses the Allocator, so it needs to appear after it. 352 // Buffer's constructor uses the Allocator, so it needs to appear after it.
350 // TODO(jpp): dependencies on construction order are a nice way of shooting 353 // TODO(jpp): dependencies on construction order are a nice way of shooting
351 // yourself in the foot. Fix this. 354 // yourself in the foot. Fix this.
352 AssemblerBuffer Buffer; 355 AssemblerBuffer Buffer;
353 }; 356 };
354 357
355 } // end of namespace Ice 358 } // end of namespace Ice
356 359
357 #endif // SUBZERO_SRC_ICEASSEMBLER_H_ 360 #endif // SUBZERO_SRC_ICEASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/IceAssemblerARM32.h » ('j') | src/IceAssemblerARM32.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698