Skip to content

Commit a0ee676

Browse files
committed
fix failing arm64 unittest
Bugs\bug724121.js was hitting an encoder assert
1 parent 5ed292c commit a0ee676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Backend/Lower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5944,7 +5944,7 @@ Lowerer::GenerateFastLdMethodFromFlags(IR::Instr * instrLdFld)
59445944
// Label to jump to (or fall through to) when bailing out
59455945
bailOutLabel = IR::LabelInstr::New(Js::OpCode::Label, instrLdFld->m_func, true /* isOpHelper */);
59465946

5947-
instrLdFld->InsertBefore(IR::Instr::New(Js::OpCode::MOV, opndInlineCache, LoadRuntimeInlineCacheOpnd(instrLdFld, propertySymOpnd), this->m_func));
5947+
InsertMove(opndInlineCache, LoadRuntimeInlineCacheOpnd(instrLdFld, propertySymOpnd), instrLdFld);
59485948
IR::LabelInstr * labelFlagAux = IR::LabelInstr::New(Js::OpCode::Label, this->m_func);
59495949

59505950
// Check the flag cache with the untagged type

0 commit comments

Comments
 (0)