We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61a81a commit d1dc14eCopy full SHA for d1dc14e
lib/Backend/GlobOpt.cpp
@@ -14376,6 +14376,16 @@ GlobOpt::OptIsInvariant(
14376
case Js::OpCode::BailOnNotStackArgs:
14377
return false;
14378
14379
+ // Usually not worth hoisting these
14380
+ case Js::OpCode::Ld_A:
14381
+ case Js::OpCode::Ld_I4:
14382
+ case Js::OpCode::LdC_A_I4:
14383
+ if(!forceInvariantHoisting)
14384
+ {
14385
+ return false;
14386
+ }
14387
+ break;
14388
+
14389
// Can't hoist these outside the function it's for. The LdArgumentsFromFrame for an inlinee depends on the inlinee meta arg
14390
// that holds the arguments object, which is only initialized at the start of the inlinee. So, can't hoist this outside the
14391
// inlinee.
0 commit comments