* small correction to previous commit: the offset of DW_OP_bregx is signed

(since it's a hardcoded 0, that doesn't matter here in practice though)

git-svn-id: trunk@22177 -
This commit is contained in:
Jonas Maebe 2012-08-22 18:42:35 +00:00
parent c8986f34fb
commit 1f2578077c

View File

@ -2336,8 +2336,8 @@ implementation
begin
templist.concat(tai_const.create_8bit(ord(DW_OP_bregx)));
templist.concat(tai_const.create_uleb128bit(dreg));
templist.concat(tai_const.create_uleb128bit(0));
blocksize:=1+Lengthuleb128(dreg)+Lengthuleb128(0);
templist.concat(tai_const.create_sleb128bit(0));
blocksize:=1+Lengthuleb128(dreg)+LengthSleb128(0);
end
else
begin