diff options
author | Björn Gustavsson <[email protected]> | 2019-03-06 06:49:55 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-03-06 06:51:25 +0100 |
commit | c1aa239e6ff52f699dd2fec761073a5effa93808 (patch) | |
tree | 0a922d0893f67de5ddb50a4b00a80fd9c9d80e17 /erts/emulator/utils | |
parent | 0341e571fb1d16415b5663366f3128ba4dfbd123 (diff) | |
download | otp-c1aa239e6ff52f699dd2fec761073a5effa93808.tar.gz otp-c1aa239e6ff52f699dd2fec761073a5effa93808.tar.bz2 otp-c1aa239e6ff52f699dd2fec761073a5effa93808.zip |
beam_emu.c: Rename the confusing macro GetR() to GetSource()
Diffstat (limited to 'erts/emulator/utils')
-rwxr-xr-x | erts/emulator/utils/beam_makeops | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/utils/beam_makeops b/erts/emulator/utils/beam_makeops index f73e2362bf..1625b2cc65 100755 --- a/erts/emulator/utils/beam_makeops +++ b/erts/emulator/utils/beam_makeops @@ -1488,7 +1488,7 @@ sub code_gen { $var_decls .= "Eterm $tmp;\n"; $tmp_arg_num++; push(@f, $tmp); - $prefix .= "GetR($arg_offset, $tmp);\n"; + $prefix .= "GetSource(" . arg_offset($arg_offset) . ", $tmp);\n"; $need_block = 1; last SWITCH; }; |