From: edwin Date: Sun, 5 Feb 2006 17:36:59 +0000 (+0000) Subject: * doc/inlining_stacktrace.txt: Added warning about signedness. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=cacao.git;a=commitdiff_plain;h=770be209fc3f9cedd4aa3b02073239c1dc83994b * doc/inlining_stacktrace.txt: Added warning about signedness. Fixed copy&paste errors. --- diff --git a/doc/inlining_stacktrace.txt b/doc/inlining_stacktrace.txt index 234e8eadd..7b3de7a45 100644 --- a/doc/inlining_stacktrace.txt +++ b/doc/inlining_stacktrace.txt @@ -28,7 +28,7 @@ X, the table looks like this: +----------+----------------------+ | ln 1 | start PC of line 1 | +----------+----------------------+ - | ln 2 | start PC of line 1 | + | ln 2 | start PC of line 2 | +----------+----------------------+ ... +----------+----------------------+ @@ -36,7 +36,7 @@ X, the table looks like this: +----------+----------------------+ | ln 1' | start PC of line 1' | \ +----------+----------------------+ | - | ln 2' | start PC of line 1' | | + | ln 2' | start PC of line 2' | | +----------+----------------------+ |--- these refer to lines within the body of ... | the inlined callee +----------+----------------------+ | @@ -53,6 +53,10 @@ X, the table looks like this: | ln N | start PC of line N | +----------+----------------------+ +CAUTION: line numbers are stored as unsigned ptrint! You need + to cast them (to s4) in order to test <0, etc. + (The ptrint values are created by casting a s4 to ptrint.) + # vim: et sw=4 sts=4 ts=4