Skip to content
Merged
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
emcc -O3 -sENVIRONMENT=node -sSTACK_SIZE=33554432 -sINITIAL_MEMORY=41943040 \
-sALLOW_MEMORY_GROWTH=1 -I. test/wasm_depth.c libpg_query.a -o test/wasm_depth.js
node test/wasm_depth.js
# V8's optimizing compiler only, which is what a long-running process ends up on
node --no-liftoff test/wasm_depth.js fingerprint
emcc -O3 -sENVIRONMENT=node -sSTACK_SIZE=1048576 -sINITIAL_MEMORY=41943040 \
-sALLOW_MEMORY_GROWTH=1 -I. test/wasm_depth.c libpg_query.a -o test/wasm_depth_small.js
node test/wasm_depth_small.js overflow
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_fingerprint_outfuncs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def generate!
else
conds += format(" if (!IsA(castNode(TypeCast, (void*) obj)->arg, A_Const) && !IsA(castNode(TypeCast, (void*) obj)->arg, ParamRef))\n {\n") if type == 'TypeCast'
conds += format(" _fingerprintString(ctx, \"%s\");\n", type)
conds += format(" _fingerprint%s(ctx, obj, parent, field_name, depth);\n", type)
conds += format(" _fingerprintCall((FingerprintFunc) _fingerprint%s, ctx, obj, parent, field_name, depth);\n", type)
conds += " }\n" if type == 'TypeCast'
end
conds += " break;\n"
Expand Down
Loading
Loading