The index into the actions table is a ULEB128 not a SLEB128.

llvm-svn: 37084
This commit is contained in:
Duncan Sands 2007-05-15 13:54:14 +00:00
parent f19428c3b1
commit eddbb07561

View File

@ -2975,7 +2975,7 @@ private:
SizeSites += M*(sizeof(int32_t) + // Site start.
sizeof(int32_t) + // Site length.
sizeof(int32_t) + // Landing pad.
Asm->SizeSLEB128(FirstAction)); // Action.
Asm->SizeULEB128(FirstAction)); // Action.
}
// Final tallies.