Chromium Code Reviews| 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. | |
|
Jim Stichnoth
2015/02/03 21:44:50
Would it be too hand-holdy to reference something
jvoung (off chromium)
2015/02/03 23:09:09
Done. I was a little afraid of the link going stal
| |
| 9 // Please update the revision if we merge back changes from Dart. | |
| 10 // | |
| 8 //===----------------------------------------------------------------------===// | 11 //===----------------------------------------------------------------------===// |
| 9 // | 12 // |
| 10 // The Subzero Code Generator | 13 // The Subzero Code Generator |
| 11 // | 14 // |
| 12 // This file is distributed under the University of Illinois Open Source | 15 // This file is distributed under the University of Illinois Open Source |
| 13 // License. See LICENSE.TXT for details. | 16 // License. See LICENSE.TXT for details. |
| 14 // | 17 // |
| 15 //===----------------------------------------------------------------------===// | 18 //===----------------------------------------------------------------------===// |
| 16 // | 19 // |
| 17 // This file implements the Assembler class. | 20 // This file implements the Assembler class. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 140 } | 143 } |
| 141 // Handle any bytes that are not prefixed by a fixup. | 144 // Handle any bytes that are not prefixed by a fixup. |
| 142 for (intptr_t i = CurPosition; i < EndPosition; ++i) { | 145 for (intptr_t i = CurPosition; i < EndPosition; ++i) { |
| 143 Str << "\t.byte 0x"; | 146 Str << "\t.byte 0x"; |
| 144 Str.write_hex(buffer_.Load<uint8_t>(i)); | 147 Str.write_hex(buffer_.Load<uint8_t>(i)); |
| 145 Str << "\n"; | 148 Str << "\n"; |
| 146 } | 149 } |
| 147 } | 150 } |
| 148 | 151 |
| 149 } // end of namespace Ice | 152 } // end of namespace Ice |
| OLD | NEW |