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

Unified Diff: runtime/vm/runtime_entry.h

Issue 2827873002: Move runtime functions to the more logical runtime_entry.cc. (Closed)
Patch Set: sort Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/runtime_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/runtime_entry.h
diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h
index c9e7bd3e30188306b81302e28a66006028819c81..f4aef09023e5059d7107a9d0ccb2cbf55a325ab4 100644
--- a/runtime/vm/runtime_entry.h
+++ b/runtime/vm/runtime_entry.h
@@ -80,7 +80,7 @@ class RuntimeEntry : public ValueObject {
#ifndef PRODUCT
#define TRACE_RUNTIME_CALL(format, name) \
if (FLAG_trace_runtime_calls) { \
- OS::Print("Runtime call: " format "\n", name); \
+ THR_Print("Runtime call: " format "\n", name); \
}
#else
#define TRACE_RUNTIME_CALL(format, name) \
@@ -146,11 +146,6 @@ RUNTIME_ENTRY_LIST(DECLARE_RUNTIME_ENTRY)
LEAF_RUNTIME_ENTRY_LIST(DECLARE_LEAF_RUNTIME_ENTRY)
-// Declare all runtime functions here.
-RUNTIME_ENTRY_LIST(DECLARE_RUNTIME_ENTRY)
-LEAF_RUNTIME_ENTRY_LIST(DECLARE_LEAF_RUNTIME_ENTRY)
-
-
uword RuntimeEntry::AddressFromId(RuntimeFunctionId id) {
switch (id) {
#define DEFINE_RUNTIME_CASE(name) \
@@ -184,6 +179,13 @@ RuntimeFunctionId RuntimeEntry::RuntimeFunctionIdFromAddress(uword address) {
return kNoRuntimeFunctionId;
}
+const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason);
+
+void DeoptimizeAt(const Code& optimized_code, StackFrame* frame);
+void DeoptimizeFunctionsOnStack();
+
+double DartModulo(double a, double b);
+
} // namespace dart
#endif // RUNTIME_VM_RUNTIME_ENTRY_H_
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/runtime_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698