~rdoering/ubuntu/intrepid/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/kernel/src/hipe_ext_format.hrl

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-05-01 16:57:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070501165710-2sapk0hp2gf3o0ip
Tags: 1:11.b.4-2ubuntu1
* Merge with Debian Unstable. Remaining changes:
  - Add -fno-stack-protector to fix broken crypto_drv.
* DebianMaintainerField update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
-define(BLOCK,1).
15
15
-define(SORTEDBLOCK,2).
16
16
 
17
 
-define(TRUE,1).
18
 
-define(FALSE,0).
19
 
 
20
 
 
21
17
-define(CONST_TYPE2EXT(T),
22
18
        case T of
23
19
            term -> ?TERM;
32
28
            ?BLOCK -> block
33
29
        end).
34
30
 
35
 
-define(BOOL2EXT(B),
36
 
        case B of
37
 
            true -> ?TRUE;
38
 
            false -> ?FALSE
39
 
        end).
40
 
 
41
 
-define(EXT2BOOL(E),
42
 
        case E of
43
 
            ?TRUE -> true;
44
 
            ?FALSE -> false
45
 
        end).
46
 
 
47
 
-define(PATCH_TYPE2EXT(A),
48
 
        case A of
49
 
            load_atom -> ?LOAD_ATOM;
50
 
            load_address -> ?LOAD_ADDRESS;
51
 
            sdesc -> ?SDESC;
52
 
            x86_abs_pcrel -> ?X86ABSPCREL;
53
 
            call_local -> ?CALL_LOCAL;
54
 
            call_remote -> ?CALL_REMOTE
55
 
        end).
56
 
 
57
31
-define(EXT2PATCH_TYPE(E),
58
32
        case E of
59
33
            ?LOAD_ATOM -> load_atom;