aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_bif0.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-29 10:52:04 +0200
committerBjörn Gustavsson <[email protected]>2015-05-29 10:52:04 +0200
commit6635bfa7c480d33d43874f4b37b7c461ba04db23 (patch)
tree262a0c6a6cfd507a3e8afb40a29d849d044b09dc /erts/emulator/hipe/hipe_bif0.c
parenteca01e7621918cb81535d0243d28adcc8dfbba34 (diff)
parent0f5916b35938c983cd5a4a9931730a5e554358f3 (diff)
downloadotp-6635bfa7c480d33d43874f4b37b7c461ba04db23.tar.gz
otp-6635bfa7c480d33d43874f4b37b7c461ba04db23.tar.bz2
otp-6635bfa7c480d33d43874f4b37b7c461ba04db23.zip
Merge branch 'legoscia/dialyzer/cache-hipe-binaries/OTP-12779'
* legoscia/dialyzer/cache-hipe-binaries/OTP-12779: Dialyzer to cache results of HiPE compilation Change hipe_bifs:system_crc/1 to hipe_bifs:system_crc/0
Diffstat (limited to 'erts/emulator/hipe/hipe_bif0.c')
-rw-r--r--erts/emulator/hipe/hipe_bif0.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c
index 099f4f90de..a4311d22e2 100644
--- a/erts/emulator/hipe/hipe_bif0.c
+++ b/erts/emulator/hipe/hipe_bif0.c
@@ -1745,13 +1745,11 @@ BIF_RETTYPE hipe_bifs_check_crc_1(BIF_ALIST_1)
BIF_RET(am_false);
}
-BIF_RETTYPE hipe_bifs_system_crc_1(BIF_ALIST_1)
+BIF_RETTYPE hipe_bifs_system_crc_0(BIF_ALIST_0)
{
Uint crc;
- if (!term_to_Uint(BIF_ARG_1, &crc))
- BIF_ERROR(BIF_P, BADARG);
- crc ^= (HIPE_SYSTEM_CRC ^ HIPE_LITERALS_CRC);
+ crc = HIPE_SYSTEM_CRC;
BIF_RET(Uint_to_term(crc, BIF_P));
}