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

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

Issue 2006403003: [mips] Initial framework support for MIPS32 (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Code changes per review. Created 4 years, 7 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_mips.cc ('k') | src/vm/interpreter_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file
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.
4
5 #if defined(DARTINO_TARGET_MIPS)
6
7 #include <stdio.h>
8 #include "src/vm/assembler.h"
9
10 namespace dartino {
11
12 void Assembler::Bind(const char* prefix, const char* name) {
13 putchar('\n');
14 printf("\t.type %s%s, @function\n", prefix, name);
15 printf("\t.globl %s%s\n%s%s:\n", prefix, name, prefix, name);
16 }
17
18 void Assembler::DefineLong(const char* name) {
19 printf("\t.long %s\n", name);
20 }
21
22 const char* Assembler::LabelPrefix() { return ""; }
23
24 } // namespace dartino
25
26 #endif // defined(DARTINO_TARGET_MIPS)
OLDNEW
« no previous file with comments | « src/vm/assembler_mips.cc ('k') | src/vm/interpreter_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698