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

Side by Side Diff: src/vm/assembler_arm_thumb_linux.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_arm_macos.cc ('k') | src/vm/assembler_x64.h » ('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_ARM) && defined(FLETCH_TARGET_OS_LINUX) && \ 5 #if defined(DARTINO_TARGET_ARM) && defined(DARTINO_TARGET_OS_LINUX) && \
6 defined(FLETCH_THUMB_ONLY) 6 defined(DARTINO_THUMB_ONLY)
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 #include "src/vm/assembler.h" 9 #include "src/vm/assembler.h"
10 10
11 namespace fletch { 11 namespace dartino {
12 12
13 void Assembler::Bind(const char* prefix, const char* name) { 13 void Assembler::Bind(const char* prefix, const char* name) {
14 putchar('\n'); 14 putchar('\n');
15 printf("\t.type %s%s, %%function\n", prefix, name); 15 printf("\t.type %s%s, %%function\n", prefix, name);
16 printf("\t.syntax unified\n"); 16 printf("\t.syntax unified\n");
17 printf("\t.thumb\n"); 17 printf("\t.thumb\n");
18 printf("\t.global %s%s\n%s%s:\n", prefix, name, prefix, name); 18 printf("\t.global %s%s\n%s%s:\n", prefix, name, prefix, name);
19 } 19 }
20 20
21 void Assembler::DefineLong(const char* name) { printf("\t.long %s\n", name); } 21 void Assembler::DefineLong(const char* name) { printf("\t.long %s\n", name); }
22 22
23 const char* Assembler::LabelPrefix() { return ""; } 23 const char* Assembler::LabelPrefix() { return ""; }
24 24
25 } // namespace fletch 25 } // namespace dartino
26 26
27 #endif // defined(FLETCH_TARGET_ARM) && defined(FLETCH_TARGET_OS_LINUX) && 27 #endif // defined(DARTINO_TARGET_ARM) && defined(DARTINO_TARGET_OS_LINUX) &&
28 // defined(FLETCH_THUMB_ONLY) 28 // defined(DARTINO_THUMB_ONLY)
OLDNEW
« no previous file with comments | « src/vm/assembler_arm_macos.cc ('k') | src/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698