| OLD | NEW |
| 1 //===- subzero/src/assembler.cpp - Assembler base class -------------------===// | 1 //===- subzero/src/assembler.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. |
| 9 // Please update the revision if we merge back changes from Dart. |
| 10 // https://code.google.com/p/dart/wiki/GettingTheSource |
| 11 // |
| 8 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
| 9 // | 13 // |
| 10 // The Subzero Code Generator | 14 // The Subzero Code Generator |
| 11 // | 15 // |
| 12 // This file is distributed under the University of Illinois Open Source | 16 // This file is distributed under the University of Illinois Open Source |
| 13 // License. See LICENSE.TXT for details. | 17 // License. See LICENSE.TXT for details. |
| 14 // | 18 // |
| 15 //===----------------------------------------------------------------------===// | 19 //===----------------------------------------------------------------------===// |
| 16 // | 20 // |
| 17 // This file implements the Assembler class. | 21 // This file implements the Assembler class. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 } | 144 } |
| 141 // Handle any bytes that are not prefixed by a fixup. | 145 // Handle any bytes that are not prefixed by a fixup. |
| 142 for (intptr_t i = CurPosition; i < EndPosition; ++i) { | 146 for (intptr_t i = CurPosition; i < EndPosition; ++i) { |
| 143 Str << "\t.byte 0x"; | 147 Str << "\t.byte 0x"; |
| 144 Str.write_hex(buffer_.Load<uint8_t>(i)); | 148 Str.write_hex(buffer_.Load<uint8_t>(i)); |
| 145 Str << "\n"; | 149 Str << "\n"; |
| 146 } | 150 } |
| 147 } | 151 } |
| 148 | 152 |
| 149 } // end of namespace Ice | 153 } // end of namespace Ice |
| OLD | NEW |