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

Side by Side Diff: src/vm/natives.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: 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
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 #ifndef SRC_VM_NATIVES_H_ 5 #ifndef SRC_VM_NATIVES_H_
6 #define SRC_VM_NATIVES_H_ 6 #define SRC_VM_NATIVES_H_
7 7
8 #include "src/shared/assert.h" 8 #include "src/shared/assert.h"
9 #include "src/shared/globals.h" 9 #include "src/shared/globals.h"
10 #include "src/shared/natives.h" 10 #include "src/shared/natives.h"
11 11
12 namespace fletch { 12 namespace dartino {
13 13
14 // Forward declarations. 14 // Forward declarations.
15 class Assembler; 15 class Assembler;
16 class Object; 16 class Object;
17 class OneByteString; 17 class OneByteString;
18 class Process; 18 class Process;
19 class TwoByteString; 19 class TwoByteString;
20 20
21 // TODO(kasperl): Move this elsewhere. 21 // TODO(kasperl): Move this elsewhere.
22 char* AsForeignString(Object* object); 22 char* AsForeignString(Object* object);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #define BEGIN_NATIVE(n) \ 65 #define BEGIN_NATIVE(n) \
66 extern "C" Object* Native_##n(Process* process, Arguments arguments) { \ 66 extern "C" Object* Native_##n(Process* process, Arguments arguments) { \
67 NativeVerifier verifier(process); 67 NativeVerifier verifier(process);
68 68
69 #define END_NATIVE() } 69 #define END_NATIVE() }
70 70
71 #define N(e, c, n) DECLARE_NATIVE(e) 71 #define N(e, c, n) DECLARE_NATIVE(e)
72 NATIVES_DO(N) 72 NATIVES_DO(N)
73 #undef N 73 #undef N
74 74
75 } // namespace fletch 75 } // namespace dartino
76 76
77 #endif // SRC_VM_NATIVES_H_ 77 #endif // SRC_VM_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698