diff options
author | Yiannis Tsiouris <[email protected]> | 2014-01-28 17:57:47 +0200 |
---|---|---|
committer | Yiannis Tsiouris <[email protected]> | 2014-03-07 18:35:01 +0200 |
commit | f0d4ac85952e847ec3d846b2ab6bd8a508244521 (patch) | |
tree | 902f8554c7564031c11cc69cb1863a3c603344fb /lib/webtool | |
parent | b166b4e7cf9bb9355c5f0b5878b24e377310db30 (diff) | |
download | otp-f0d4ac85952e847ec3d846b2ab6bd8a508244521.tar.gz otp-f0d4ac85952e847ec3d846b2ab6bd8a508244521.tar.bz2 otp-f0d4ac85952e847ec3d846b2ab6bd8a508244521.zip |
Move some common code in hipe_pack_constants
All backends (e.g. arm, ppc, sparc, x86) share the same code for the following
functions:
* find_const/2,
* mk_data_relocs/2, and
* slim_sorted_exportmap/3
This commit moves those definitions (along with some helper functions) in
misc/hipe_pack_constants.erl and adds the appropriate specs. This is a
structural change; no change in semantics intented.
Diffstat (limited to 'lib/webtool')
0 files changed, 0 insertions, 0 deletions