diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index afa8e4818b..c971646195 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -54,10 +54,6 @@ namespace jit { class JitOptions; } // namespace jit -namespace lambda { - class BoxTable; -} // namespace lambda - namespace mirror { class ClassLoader; class Array; @@ -387,10 +383,11 @@ class Runtime { // Returns a special method that describes all callee saves being spilled to the stack. enum CalleeSaveType { - kSaveAll, - kRefsOnly, - kRefsAndArgs, - kLastCalleeSaveType // Value used for iteration + kSaveAllCalleeSaves, // All callee-save registers. + kSaveRefsOnly, // Only those callee-save registers that can hold references. + kSaveRefsAndArgs, // References (see above) and arguments (usually caller-save registers). + kSaveEverything, // All registers, including both callee-save and caller-save. + kLastCalleeSaveType // Value used for iteration }; bool HasCalleeSaveMethod(CalleeSaveType type) const { @@ -552,10 +549,6 @@ class Runtime { return (experimental_flags_ & flags) != ExperimentalFlags::kNone; } - lambda::BoxTable* GetLambdaBoxTable() const { - return lambda_box_table_.get(); - } - // Create the JIT and instrumentation and code cache. void CreateJit(); @@ -739,8 +732,6 @@ class Runtime { std::unique_ptr<jit::Jit> jit_; std::unique_ptr<jit::JitOptions> jit_options_; - std::unique_ptr<lambda::BoxTable> lambda_box_table_; - // Fault message, printed when we get a SIGSEGV. Mutex fault_message_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; std::string fault_message_ GUARDED_BY(fault_message_lock_); |