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

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

Issue 2994863002: Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime." (Closed)
Patch Set: Exclude references to disassembler in precompiled mode Created 3 years, 4 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); 180 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason);
180 181
181 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame); 182 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame);
182 void DeoptimizeFunctionsOnStack(); 183 void DeoptimizeFunctionsOnStack();
183 184
184 double DartModulo(double a, double b); 185 double DartModulo(double a, double b);
185 186
186 } // namespace dart 187 } // namespace dart
187 188
188 #endif // RUNTIME_VM_RUNTIME_ENTRY_H_ 189 #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