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

Side by Side Diff: src/vm/assembler_x86_win.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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/vm/assembler_x86_macos.cc ('k') | src/vm/dartino.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dartino 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(DARTINO_TARGET_IA32) && defined(DARTINO_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 dartino {
11 11
12 const char* kLocalLabelPrefix = "L"; 12 const char* kLocalLabelPrefix = "L";
13 13
14 static const char* kPrefix = "_"; 14 static const char* kPrefix = "_";
15 15
16 void Assembler::call(const char* name) { 16 void Assembler::call(const char* name) {
17 printf("\tcall %s%s\n", kPrefix, name); 17 printf("\tcall %s%s\n", kPrefix, name);
18 } 18 }
19 19
20 void Assembler::j(Condition condition, const char* name) { 20 void Assembler::j(Condition condition, const char* name) {
(...skipping 20 matching lines...) Expand all
41 } 41 }
42 42
43 void Assembler::LoadNative(Register destination, Register index) { 43 void Assembler::LoadNative(Register destination, Register index) {
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 dartino
52 52
53 #endif // defined(FLETCH_TARGET_IA32) && defined(FLETCH_TARGET_OS_WIN) 53 #endif // defined(DARTINO_TARGET_IA32) && defined(DARTINO_TARGET_OS_WIN)
OLDNEW
« no previous file with comments | « src/vm/assembler_x86_macos.cc ('k') | src/vm/dartino.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698