From 646c817749b35adec47b618d2ecc7e6dc883abd4 Mon Sep 17 00:00:00 2001 From: Jan de Mooij Date: Wed, 11 Sep 2013 11:22:57 +0200 Subject: [PATCH] No bug - Fix Ion bug exposed by followup patch for bug 913424. r=efaust on IRC --- js/src/jit/MCallOptimize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/MCallOptimize.cpp b/js/src/jit/MCallOptimize.cpp index 36708f91778..5a4753c71c4 100644 --- a/js/src/jit/MCallOptimize.cpp +++ b/js/src/jit/MCallOptimize.cpp @@ -1479,7 +1479,7 @@ IonBuilder::inlineHaveSameClass(CallInfo &callInfo) types::StackTypeSet *arg1Types = callInfo.getArg(0)->resultTypeSet(); types::StackTypeSet *arg2Types = callInfo.getArg(1)->resultTypeSet(); Class *arg1Clasp = arg1Types ? arg1Types->getKnownClass() : NULL; - Class *arg2Clasp = arg2Types ? arg1Types->getKnownClass() : NULL; + Class *arg2Clasp = arg2Types ? arg2Types->getKnownClass() : NULL; if (arg1Clasp && arg2Clasp) { MConstant *constant = MConstant::New(BooleanValue(arg1Clasp == arg2Clasp)); current->add(constant);