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_IA32) && defined(FLETCH_TARGET_OS_WIN) | 5 #if defined(FLETCH_TARGET_IA32) && defined(FLETCH_TARGET_OS_WIN) |
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 Print("movl %skNativeTable(,%rl,4), %rl", kPrefix, index, destination); | 44 Print("movl %skNativeTable(,%rl,4), %rl", kPrefix, index, destination); |
45 } | 45 } |
46 | 46 |
47 void Assembler::LoadLabel(Register reg, const char* name) { | 47 void Assembler::LoadLabel(Register reg, const char* name) { |
48 Print("leal %s%s, %rl", kPrefix, name, reg); | 48 Print("leal %s%s, %rl", kPrefix, name, reg); |
49 } | 49 } |
50 | 50 |
51 } // namespace fletch | 51 } // namespace fletch |
52 | 52 |
53 #endif // defined(FLETCH_TARGET_IA32) && defined(FLETCH_TARGET_OS_WIN) | 53 #endif // defined(FLETCH_TARGET_IA32) && defined(FLETCH_TARGET_OS_WIN) |
OLD | NEW |