life icon indicating copy to clipboard operation
life copied to clipboard

There is a problem in the judgment of was unreachable

Open elvin-du opened this issue 6 years ago • 0 comments

There should be some problems with the code here, but I don't know where they are right now. The reason is that when I run a normal wasm file, the following error occurs:

//compiler/ssa.go:335 line
panic(fmt.Errorf("inconsistent stack pattern: pt = %v, lpt = %v, ls = %d, sd = %d", loc.PreserveTop, loc.LoopPreserveTop, len(c.Stack), loc.StackDepth))

I just comment out the crash code, and wasm works ok.

elvin-du avatar Dec 19 '19 08:12 elvin-du