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

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

Issue 2997993002: Revert "Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime."" (Closed)
Patch Set: 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 NOT_IN_PRECOMPILED(void Call(Assembler* assembler, intptr_t argument_count) 61 void Call(Assembler* assembler, intptr_t argument_count) const;
62 const);
63 62
64 void set_next(const RuntimeEntry* next) { next_ = next; } 63 void set_next(const RuntimeEntry* next) { next_ = next; }
65 const RuntimeEntry* next() const { return next_; } 64 const RuntimeEntry* next() const { return next_; }
66 65
67 static inline uword AddressFromId(RuntimeFunctionId id); 66 static inline uword AddressFromId(RuntimeFunctionId id);
68 static inline RuntimeFunctionId RuntimeFunctionIdFromAddress(uword address); 67 static inline RuntimeFunctionId RuntimeFunctionIdFromAddress(uword address);
69 68
70 private: 69 private:
71 const char* name_; 70 const char* name_;
72 const RuntimeFunction function_; 71 const RuntimeFunction function_;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); 179 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason);
181 180
182 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame); 181 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame);
183 void DeoptimizeFunctionsOnStack(); 182 void DeoptimizeFunctionsOnStack();
184 183
185 double DartModulo(double a, double b); 184 double DartModulo(double a, double b);
186 185
187 } // namespace dart 186 } // namespace dart
188 187
189 #endif // RUNTIME_VM_RUNTIME_ENTRY_H_ 188 #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