Closed capthehacker99 closed 4 months ago
Can you provide how you produced this?
Luau version: git commit 9649e5e446e02e5383c11e16b300ab4b426242a1 Compile options:
Luau::Allocator allocator;
Luau::AstNameTable names(allocator);
Luau::ParseResult result = Luau::Parser::parse(string, size, names, allocator);
std::string error_combined;
if (!result.errors.empty())
throw Luau::ParseErrors(result.errors);
Luau::CompileOptions copts;
copts.optimizationLevel = 2;
copts.debugLevel = 1;
copts.vectorLib = nullptr;
copts.vectorCtor = nullptr;
copts.vectorType = nullptr;
Luau::BytecodeBuilder bcb;
Luau::compileOrThrow(bcb, result, names, copts);
const auto& bytecode = bcb.getBytecode();
Source isn't available, but this can be reproduced with most large scripts.
Changing Fiu's code to this seem to mitigate the problem:
Changing Fiu's code to this seem to mitigate the problem:
@green-real
Try this instead
table_insert(instructionlineinfo, (abslineinfo[bit32_rshift(i, linegaplog2) + 1] or 0) + (lineinfo[i] or 0))
This should eliminate the error as we investigate the problem.
I got the following error when using the bytecode below:
bytecode.tar.gz