diff options
author | Björn Gustavsson <[email protected]> | 2017-08-25 14:40:50 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-08-31 15:45:32 +0200 |
commit | e53b75431e40cec0c26032df1867301e76688009 (patch) | |
tree | 592f6aed85e6dc26531ebf217cd6c69283754e1c /erts/emulator/beam/global.h | |
parent | 50da607331bc2de990828c3c74bbf4ee7efa27f0 (diff) | |
download | otp-e53b75431e40cec0c26032df1867301e76688009.tar.gz otp-e53b75431e40cec0c26032df1867301e76688009.tar.bz2 otp-e53b75431e40cec0c26032df1867301e76688009.zip |
Eliminate three arguments for erts_hibernate()
We don't need to pass x(0), x(1), and x(2) because they
can already be found in the register array.
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r-- | erts/emulator/beam/global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h index 27a6202bb7..c72ae32f2c 100644 --- a/erts/emulator/beam/global.h +++ b/erts/emulator/beam/global.h @@ -1386,7 +1386,7 @@ Uint erts_current_reductions(Process* current, Process *p); int erts_print_system_version(fmtfn_t to, void *arg, Process *c_p); -int erts_hibernate(Process* c_p, Eterm module, Eterm function, Eterm args, Eterm* reg); +int erts_hibernate(Process* c_p, Eterm* reg); ERTS_GLB_FORCE_INLINE int erts_is_literal(Eterm tptr, Eterm *ptr); |