diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc
index 2f18bd19b0..6ab95a47cd 100644
--- a/src/compiler/s390/code-generator-s390.cc
+++ b/src/compiler/s390/code-generator-s390.cc
@@ -1325,7 +1325,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
         __ LoadRR(i.OutputRegister(), fp);
       }
       break;
-    case kArchFramePointer:
+    case kArchRootsPointer:
       __ LoadRR(i.OutputRegister(), kRootRegister);
       break;
     case kArchTruncateDoubleToI: