summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 106966ef1..866b0d8f8 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -1440,8 +1440,8 @@ struct PrintSExpression : public OverriddenVisitor<PrintSExpression> {
}
// show a binary position, if there is one
if (debugInfo) {
- auto iter = currFunction->binaryLocations.find(curr);
- if (iter != currFunction->binaryLocations.end()) {
+ auto iter = currFunction->expressionLocations.find(curr);
+ if (iter != currFunction->expressionLocations.end()) {
Colors::grey(o);
o << ";; code offset: 0x" << std::hex << iter->second << std::dec
<< '\n';