Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index ed994e5b1dccf4f53631ccfa09b83fc62bde70c6..9cab10b3bc9b12702d86a187a421f6c89350ef26 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -1191,11 +1191,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
break; |
case kArm64Ubfx: |
__ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), |
- i.InputInt6(2)); |
+ i.InputInt32(2)); |
break; |
case kArm64Ubfx32: |
__ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
- i.InputInt5(2)); |
+ i.InputInt32(2)); |
break; |
case kArm64Ubfiz32: |
__ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |