aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-05-24 16:09:17 +0200
committerRaimo Niskanen <[email protected]>2010-06-03 14:54:21 +0200
commitc523cc520d7de33e97be6da77acdd35033efdc41 (patch)
treebc35bf82c2afd012de6f657538361272ee22416d
parent00b691da157e0ec55828febfaf23588ea70c8f29 (diff)
downloadotp-c523cc520d7de33e97be6da77acdd35033efdc41.tar.gz
otp-c523cc520d7de33e97be6da77acdd35033efdc41.tar.bz2
otp-c523cc520d7de33e97be6da77acdd35033efdc41.zip
Fix BeamInstr code array in export.h
-rw-r--r--erts/emulator/beam/export.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/export.h b/erts/emulator/beam/export.h
index 87c1d483f4..c604fdf7c3 100644
--- a/erts/emulator/beam/export.h
+++ b/erts/emulator/beam/export.h
@@ -37,7 +37,7 @@ typedef struct export
void* address; /* Pointer to code for function. */
struct binary* match_prog_set; /* Match program for tracing. */
- Eterm fake_op_func_info_for_hipe[2]; /* MUST be just before code[] */
+ BeamInstr fake_op_func_info_for_hipe[2]; /* MUST be just before code[] */
/*
* code[0]: Tagged atom for module.
* code[1]: Tagged atom for function.
@@ -52,11 +52,7 @@ typedef struct export
* on_load function that has not been run yet.
* Otherwise: 0.
*/
-#if HALFWORD_HEAP
BeamInstr code[5];
-#else
- Eterm code[5];
-#endif
} Export;