X87: [turbofan] Add CalleeSavedFPRegisters to CallDescriptor.
authorchunyang.dai <chunyang.dai@intel.com>
Thu, 2 Jul 2015 04:02:33 +0000 (21:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jul 2015 04:02:46 +0000 (04:02 +0000)
port b4275a70eb1e6b6dc0f3c77b9be6bcfca3f80c20 (r29378)

original commit message:

    This change makes possible to save and restore the FP registers
    in the Prologue and Return parts for the CallAddress kind functions.

BUG=

Review URL: https://codereview.chromium.org/1214573006

Cr-Commit-Position: refs/heads/master@{#29432}

src/compiler/x87/linkage-x87.cc

index e4606de..69e1b3d 100644 (file)
@@ -22,6 +22,7 @@ struct X87LinkageHelperTraits {
   static RegList CCalleeSaveRegisters() {
     return esi.bit() | edi.bit() | ebx.bit();
   }
+  static RegList CCalleeSaveFPRegisters() { return 0; }
   static Register CRegisterParameter(int i) { return no_reg; }
   static int CRegisterParametersLength() { return 0; }
   static int CStackBackingStoreLength() { return 0; }