From fd095b6389ec7c794e094f2a5dc8851bdc108999 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Mon, 5 Jan 2009 16:05:32 +0000 Subject: Get rid of the tagging functions and use PointerIntPair. This means that we have to include an additional header. This patch should be functionally equivalent. I cannot outrule any performance degradation, though I do not expect any. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61694 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'docs/ProgrammersManual.html') diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 8f352ea..708211f 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -2234,7 +2234,7 @@ insert entries into the symbol table.

The -User class provides a base for expressing the ownership of User +User class provides a basis for expressing the ownership of User towards other Values. The Use helper class is employed to do the bookkeeping and to facilitate O(1) @@ -2242,7 +2242,7 @@ addition and removal.

@@ -2303,7 +2303,7 @@ enforce the following memory layouts:

@@ -2344,7 +2344,7 @@ stops, so that the worst case is 20 memory accesses when there are
@@ -2434,7 +2434,7 @@ OK, passed 500 tests.

@@ -2446,7 +2446,8 @@ tag bits.

For layout b) instead of the User we find a pointer (User* with LSBit set). Following this pointer brings us to the User. A portable trick ensures that the first bytes of User (if interpreted as a pointer) never has -the LSBit set.

+the LSBit set. (Portability is relying on the fact that all known compilers place the +vptr in the first word of the instances.)

@@ -2491,7 +2492,7 @@ the lib/VMCore directory.

@@ -2513,7 +2514,7 @@ the lib/VMCore directory.

-- cgit v1.1