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

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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Eliminate precompiled runtime flag Created 3 years, 5 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/regexp_assembler_ir.cc ('k') | runtime/vm/runtime_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 RUNTIME_VM_RUNTIME_ENTRY_H_ 5 #ifndef RUNTIME_VM_RUNTIME_ENTRY_H_
6 #define RUNTIME_VM_RUNTIME_ENTRY_H_ 6 #define RUNTIME_VM_RUNTIME_ENTRY_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/flags.h" 9 #include "vm/flags.h"
10 #include "vm/native_arguments.h" 10 #include "vm/native_arguments.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 52
53 const char* name() const { return name_; } 53 const char* name() const { return name_; }
54 RuntimeFunction function() const { return function_; } 54 RuntimeFunction function() const { return function_; }
55 intptr_t argument_count() const { return argument_count_; } 55 intptr_t argument_count() const { return argument_count_; }
56 bool is_leaf() const { return is_leaf_; } 56 bool is_leaf() const { return is_leaf_; }
57 bool is_float() const { return is_float_; } 57 bool is_float() const { return is_float_; }
58 uword GetEntryPoint() const; 58 uword GetEntryPoint() const;
59 59
60 // Generate code to call the runtime entry. 60 // Generate code to call the runtime entry.
61 void Call(Assembler* assembler, intptr_t argument_count) const; 61 NOT_IN_PRECOMPILED(void Call(Assembler* assembler, intptr_t argument_count)
62 const);
62 63
63 void set_next(const RuntimeEntry* next) { next_ = next; } 64 void set_next(const RuntimeEntry* next) { next_ = next; }
64 const RuntimeEntry* next() const { return next_; } 65 const RuntimeEntry* next() const { return next_; }
65 66
66 static inline uword AddressFromId(RuntimeFunctionId id); 67 static inline uword AddressFromId(RuntimeFunctionId id);
67 static inline RuntimeFunctionId RuntimeFunctionIdFromAddress(uword address); 68 static inline RuntimeFunctionId RuntimeFunctionIdFromAddress(uword address);
68 69
69 private: 70 private:
70 const char* name_; 71 const char* name_;
71 const RuntimeFunction function_; 72 const RuntimeFunction function_;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); 183 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason);
183 184
184 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame); 185 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame);
185 void DeoptimizeFunctionsOnStack(); 186 void DeoptimizeFunctionsOnStack();
186 187
187 double DartModulo(double a, double b); 188 double DartModulo(double a, double b);
188 189
189 } // namespace dart 190 } // namespace dart
190 191
191 #endif // RUNTIME_VM_RUNTIME_ENTRY_H_ 192 #endif // RUNTIME_VM_RUNTIME_ENTRY_H_
OLDNEW
« no previous file with comments | « runtime/vm/regexp_assembler_ir.cc ('k') | runtime/vm/runtime_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698