diff options
author | Lukas Larsson <[email protected]> | 2013-08-01 15:50:46 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:15:56 +0100 |
commit | 48201abc7961b44be9e5cf0feb74d18a399d6099 (patch) | |
tree | 6efb3624e998e5b4594ff8e230234b3041833021 /erts/emulator/hipe/hipe_mode_switch.c | |
parent | 06928bcd1ff6ede831bb36395ab94761c85d780b (diff) | |
download | otp-48201abc7961b44be9e5cf0feb74d18a399d6099.tar.gz otp-48201abc7961b44be9e5cf0feb74d18a399d6099.tar.bz2 otp-48201abc7961b44be9e5cf0feb74d18a399d6099.zip |
erts: Make source file info available in lc
Diffstat (limited to 'erts/emulator/hipe/hipe_mode_switch.c')
-rw-r--r-- | erts/emulator/hipe/hipe_mode_switch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_mode_switch.c b/erts/emulator/hipe/hipe_mode_switch.c index adc8793469..8ebe5da670 100644 --- a/erts/emulator/hipe/hipe_mode_switch.c +++ b/erts/emulator/hipe/hipe_mode_switch.c @@ -37,7 +37,8 @@ #if defined(ERTS_ENABLE_LOCK_CHECK) && defined(ERTS_SMP) # define ERTS_SMP_REQ_PROC_MAIN_LOCK(P) \ - if ((P)) erts_proc_lc_require_lock((P), ERTS_PROC_LOCK_MAIN) + if ((P)) erts_proc_lc_require_lock((P), ERTS_PROC_LOCK_MAIN, \ + __FILE__, __LINE__) # define ERTS_SMP_UNREQ_PROC_MAIN_LOCK(P) \ if ((P)) erts_proc_lc_unrequire_lock((P), ERTS_PROC_LOCK_MAIN) #else |