mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update Compiler/src/Compiler.cpp
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
parent
abc856d7e8
commit
6e1f65b41f
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ struct Compiler
|
||||||
}
|
}
|
||||||
|
|
||||||
// disable fast path for vectors because supporting it would require a new opcode
|
// disable fast path for vectors because supporting it would require a new opcode
|
||||||
if (isConstantVector(right))
|
if (operandIsConstant && isConstantVector(right))
|
||||||
operandIsConstant = false;
|
operandIsConstant = false;
|
||||||
|
|
||||||
uint8_t rl = compileExprAuto(left, rs);
|
uint8_t rl = compileExprAuto(left, rs);
|
||||||
|
|
Loading…
Add table
Reference in a new issue