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

Side by Side Diff: src/IceAssembler.cpp

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase to master Created 5 years, 5 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
« no previous file with comments | « src/IceAssembler.h ('k') | src/IceAssemblerARM32.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 //===- subzero/src/IceAssembler.cpp - Assembler base class ----------------===// 1 //===- subzero/src/IceAssembler.cpp - Assembler base class ----------------===//
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 // This is forked from Dart revision 39313. 8 // This is forked from Dart revision 39313.
9 // Please update the revision if we merge back changes from Dart. 9 // Please update the revision if we merge back changes from Dart.
10 // https://code.google.com/p/dart/wiki/GettingTheSource 10 // https://code.google.com/p/dart/wiki/GettingTheSource
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 // 13 //
14 // The Subzero Code Generator 14 // The Subzero Code Generator
15 // 15 //
16 // This file is distributed under the University of Illinois Open Source 16 // This file is distributed under the University of Illinois Open Source
17 // License. See LICENSE.TXT for details. 17 // License. See LICENSE.TXT for details.
18 // 18 //
19 //===----------------------------------------------------------------------===// 19 //===----------------------------------------------------------------------===//
20 // 20 ///
21 // This file implements the Assembler base class. 21 /// \file
22 // 22 /// This file implements the Assembler base class.
23 ///
23 //===----------------------------------------------------------------------===// 24 //===----------------------------------------------------------------------===//
24 25
25 #include "IceAssembler.h" 26 #include "IceAssembler.h"
26 27
27 #include "IceGlobalContext.h" 28 #include "IceGlobalContext.h"
28 #include "IceOperand.h" 29 #include "IceOperand.h"
29 30
30 namespace Ice { 31 namespace Ice {
31 32
32 static uintptr_t NewContents(Assembler &Assemblr, intptr_t Capacity) { 33 static uintptr_t NewContents(Assembler &Assemblr, intptr_t Capacity) {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 141 }
141 // Handle any bytes that are not prefixed by a fixup. 142 // Handle any bytes that are not prefixed by a fixup.
142 for (intptr_t i = CurPosition; i < EndPosition; ++i) { 143 for (intptr_t i = CurPosition; i < EndPosition; ++i) {
143 Str << "\t.byte 0x"; 144 Str << "\t.byte 0x";
144 Str.write_hex(Buffer.load<uint8_t>(i)); 145 Str.write_hex(Buffer.load<uint8_t>(i));
145 Str << "\n"; 146 Str << "\n";
146 } 147 }
147 } 148 }
148 149
149 } // end of namespace Ice 150 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceAssembler.h ('k') | src/IceAssemblerARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698