| Index: src/assembler.cc
|
| diff --git a/src/assembler.cc b/src/assembler.cc
|
| index c355105f35f70de7158cd0fd4b9baa320ca49467..c7e819ae4250081af561e5198ca25f897816ca16 100644
|
| --- a/src/assembler.cc
|
| +++ b/src/assembler.cc
|
| @@ -114,56 +114,6 @@ namespace v8 {
|
| namespace internal {
|
|
|
| // -----------------------------------------------------------------------------
|
| -// Common register code.
|
| -
|
| -const char* Register::ToString() {
|
| - // This is the mapping of allocation indices to registers.
|
| - DCHECK(reg_code >= 0 && reg_code < kNumRegisters);
|
| - return RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT)
|
| - ->GetGeneralRegisterName(reg_code);
|
| -}
|
| -
|
| -bool Register::IsAllocatable(
|
| - RegisterConfiguration::CompilerSelector compiler) const {
|
| - return ((1 << reg_code) &
|
| - RegisterConfiguration::ArchDefault(compiler)
|
| - ->allocatable_general_codes_mask()) != 0;
|
| -}
|
| -
|
| -const char* DoubleRegister::ToString() {
|
| - // This is the mapping of allocation indices to registers.
|
| - DCHECK(reg_code >= 0 && reg_code < kMaxNumRegisters);
|
| - return RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT)
|
| - ->GetDoubleRegisterName(reg_code);
|
| -}
|
| -
|
| -bool DoubleRegister::IsAllocatable(
|
| - RegisterConfiguration::CompilerSelector compiler) const {
|
| - return ((1 << reg_code) &
|
| - RegisterConfiguration::ArchDefault(compiler)
|
| - ->allocatable_double_codes_mask()) != 0;
|
| -}
|
| -
|
| -// FloatRegister is only a distinct type on ARM. On all other platforms it's
|
| -// typedef'ed to DoubleRegister.
|
| -#if V8_TARGET_ARCH_ARM
|
| -const char* FloatRegister::ToString() {
|
| - // This is the mapping of allocation indices to registers.
|
| - DCHECK(reg_code >= 0 && reg_code < kMaxNumRegisters);
|
| - return RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT)
|
| - ->GetFloatRegisterName(reg_code);
|
| -}
|
| -
|
| -bool FloatRegister::IsAllocatable(
|
| - RegisterConfiguration::CompilerSelector compiler) const {
|
| - // TODO(bbudge) Update this once RegisterConfigutation handles aliasing.
|
| - return ((1 << reg_code) &
|
| - RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT)
|
| - ->allocatable_double_codes_mask()) != 0;
|
| -}
|
| -#endif // V8_TARGET_ARCH_ARM
|
| -
|
| -// -----------------------------------------------------------------------------
|
| // Common double constants.
|
|
|
| struct DoubleConstant BASE_EMBEDDED {
|
|
|