| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #if defined(FLETCH_TARGET_X64) && defined(FLETCH_TARGET_OS_MACOS) | 5 #if defined(FLETCH_TARGET_X64) && defined(FLETCH_TARGET_OS_MACOS) |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include "src/vm/assembler.h" | 8 #include "src/vm/assembler.h" |
| 9 | 9 |
| 10 namespace fletch { | 10 namespace fletch { |
| 11 | 11 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 Print("movq (%rq,%rq,8), %rq", destination, index, destination); | 60 Print("movq (%rq,%rq,8), %rq", destination, index, destination); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void Assembler::LoadLabel(Register reg, const char* name) { | 63 void Assembler::LoadLabel(Register reg, const char* name) { |
| 64 Print("leaq _%s(%%rip), %rq", name, reg); | 64 Print("leaq _%s(%%rip), %rq", name, reg); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace fletch | 67 } // namespace fletch |
| 68 | 68 |
| 69 #endif // defined(FLETCH_TARGET_X64) && defined(FLETCH_TARGET_OS_MACOS) | 69 #endif // defined(FLETCH_TARGET_X64) && defined(FLETCH_TARGET_OS_MACOS) |
| OLD | NEW |