Skip to content

Commit

Permalink
simplify trace operation
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGrulich committed Oct 6, 2024
1 parent 58bcdf4 commit 5a02cf0
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
B0($1:ptr)
CALL $2 _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_08__invokeEPNS_11CustomClassE($1) :i32
CALL $2 _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_18__invokeEPNS_11CustomClassE($1) :i32
RETURN $0 $2 :i32
2 changes: 1 addition & 1 deletion nautilus/test/data/pointer-tests/ir/castCustomClass.trace
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NautilusIr {
execute() {
Block_0($1:ptr):
$2 = _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_08__invokeEPNS_11CustomClassE($1) :i32
$2 = _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_18__invokeEPNS_11CustomClassE($1) :i32
return ($2) :i32
}
} //NESIR
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
B0($1:ptr)
CALL $2 _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_08__invokeEPNS_11CustomClassE($1) :i32
CALL $2 _ZZN8nautilus15castCustomClassENS_3valIPNS_9BaseClassEEEEN3$_18__invokeEPNS_11CustomClassE($1) :i32
RETURN $0 $2 :i32
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
B0($1:i32)
CALL $2 _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($1) :i32
CALL $2 _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_28__invokeEi($1) :i32
RETURN $0 $2 :i32
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
B0($1:i32)
CALL $2 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_18__invokeEi($1) :i32
CALL $3 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($2) :i32
CALL $2 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_48__invokeEi($1) :i32
CALL $3 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_38__invokeEi($2) :i32
RETURN $0 $3 :i32
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NautilusIr {
execute() {
Block_0($1:i32):
$2 = _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($1) :i32
$2 = _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_28__invokeEi($1) :i32
return ($2) :i32
}
} //NESIR
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
NautilusIr {
execute() {
Block_0($1:i32):
$2 = _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_18__invokeEi($1) :i32
$3 = _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($2) :i32
$2 = _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_48__invokeEi($1) :i32
$3 = _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_38__invokeEi($2) :i32
return ($3) :i32
}
} //NESIR
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
B0($1:i32)
CALL $2 _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($1) :i32
CALL $2 _ZZN8nautilus6engine21lambdaRuntimeFunctionENS_3valIiEEEN3$_28__invokeEi($1) :i32
RETURN $0 $2 :i32
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
B0($1:i32)
CALL $2 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_18__invokeEi($1) :i32
CALL $3 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_08__invokeEi($2) :i32
CALL $2 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_48__invokeEi($1) :i32
CALL $3 _ZZN8nautilus6engine27nestedLambdaRuntimeFunctionENS_3valIiEEEN3$_38__invokeEi($2) :i32
RETURN $0 $3 :i32

0 comments on commit 5a02cf0

Please sign in to comment.