diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-06 16:10:14 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-06 16:10:14 +0000 |
commit | 154552e666347d41d95d7619c6ee56249ff4feca (patch) | |
tree | b8bdb820be33317f23ef1d3e43d13b2b6bfb3ba5 /compiler/optimizing/code_generator.h | |
parent | b4ba354cf8d22b261205494875cc014f18587b50 (diff) |
Revert "[optimizing] Enable x86 long support."
Few libcore failures.
This reverts commit b4ba354cf8d22b261205494875cc014f18587b50.
Change-Id: I4a28d853e730dff9b69aec9555505803cf2fcd63
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r-- | compiler/optimizing/code_generator.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index b8f4572abd..5146afad8d 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -153,13 +153,17 @@ class CodeGenerator { virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0; // Restores the register from the stack. Returns the size taken on stack. virtual size_t RestoreCoreRegister(size_t stack_index, uint32_t reg_id) = 0; - - virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0; - virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) = 0; - + virtual size_t SaveFloatingPointRegister(size_t stack_index, uint32_t reg_id) { + UNUSED(stack_index, reg_id); + UNIMPLEMENTED(FATAL); + UNREACHABLE(); + } + virtual size_t RestoreFloatingPointRegister(size_t stack_index, uint32_t reg_id) { + UNUSED(stack_index, reg_id); + UNIMPLEMENTED(FATAL); + UNREACHABLE(); + } virtual bool NeedsTwoRegisters(Primitive::Type type) const = 0; - // Returns whether we should split long moves in parallel moves. - virtual bool ShouldSplitLongMoves() const { return false; } bool IsCoreCalleeSaveRegister(int reg) const { return (core_callee_save_mask_ & (1 << reg)) != 0; |