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

Side by Side Diff: runtime/vm/native_entry.h

Issue 1858283002: Initial SIMDBC interpreter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 | « runtime/vm/native_arguments.h ('k') | runtime/vm/native_entry.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_NATIVE_ENTRY_H_ 5 #ifndef VM_NATIVE_ENTRY_H_
6 #define VM_NATIVE_ENTRY_H_ 6 #define VM_NATIVE_ENTRY_H_
7 7
8 #include "platform/memory_sanitizer.h" 8 #include "platform/memory_sanitizer.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int number_of_arguments, 111 int number_of_arguments,
112 bool* auto_setup_scope); 112 bool* auto_setup_scope);
113 static const uint8_t* ResolveSymbolInLibrary(const Library& library, 113 static const uint8_t* ResolveSymbolInLibrary(const Library& library,
114 uword pc); 114 uword pc);
115 static const uint8_t* ResolveSymbol(uword pc); 115 static const uint8_t* ResolveSymbol(uword pc);
116 116
117 static uword NativeCallWrapperEntry(); 117 static uword NativeCallWrapperEntry();
118 static void NativeCallWrapper(Dart_NativeArguments args, 118 static void NativeCallWrapper(Dart_NativeArguments args,
119 Dart_NativeFunction func); 119 Dart_NativeFunction func);
120 120
121 // DBC does not support lazy native call linking.
122 #if !defined(TARGET_ARCH_DBC)
121 static uword LinkNativeCallEntry(); 123 static uword LinkNativeCallEntry();
122 static void LinkNativeCall(Dart_NativeArguments args); 124 static void LinkNativeCall(Dart_NativeArguments args);
125 #endif
123 126
124 private: 127 private:
125 static void NativeCallWrapperNoStackCheck(Dart_NativeArguments args, 128 static void NativeCallWrapperNoStackCheck(Dart_NativeArguments args,
126 Dart_NativeFunction func); 129 Dart_NativeFunction func);
127 130
128 static bool ReturnValueIsError(NativeArguments* arguments); 131 static bool ReturnValueIsError(NativeArguments* arguments);
129 static void PropagateErrors(NativeArguments* arguments); 132 static void PropagateErrors(NativeArguments* arguments);
130 }; 133 };
131 134
132 } // namespace dart 135 } // namespace dart
133 136
134 #endif // VM_NATIVE_ENTRY_H_ 137 #endif // VM_NATIVE_ENTRY_H_
OLDNEW
« no previous file with comments | « runtime/vm/native_arguments.h ('k') | runtime/vm/native_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698