Skip to content

Commit 0722138

Browse files
committed
[MERGE #4752 @sigatrev] fix failing arm64 unittest
Merge pull request #4752 from sigatrev:user/magardn/fixarm64test Bugs\bug724121.js was hitting an encoder assert
2 parents 5ed292c + a0ee676 commit 0722138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)