summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test1-01.txt22
-rw-r--r--test/test1-02.txt10
-rw-r--r--test/test1-03.txt6
-rw-r--r--test/test1-04.txt12
4 files changed, 35 insertions, 15 deletions
diff --git a/test/test1-01.txt b/test/test1-01.txt
index c80f21a..776f9f9 100644
--- a/test/test1-01.txt
+++ b/test/test1-01.txt
@@ -69,9 +69,13 @@ function_decl func3 test1.c 7:6
integer_cst 64 - parm size
statement_list - code
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ Unsupported node type: modify_expr - operand - expresssion
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ Unsupported node type: modify_expr - operand - expresssion
Unsupported node type: while_stmt - statement - code
function_decl main test1.c 14:5
- isPublic: 1
@@ -115,7 +119,9 @@ function_decl main test1.c 14:5
integer_cst 127 - max value
statement_list - operand
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ Unsupported node type: call_expr - operand - expresssion
decl_expr - statement
var_decl k test1.c 17:14 - operand
- isUsed: 1
@@ -142,7 +148,8 @@ function_decl main test1.c 14:5
integer_cst -128 - min value
integer_cst 127 - max value
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ Unsupported node type: call_expr - expresssion - operand
return_expr - statement
init_expr - operand
result_decl test1.c 14:10 - operand
@@ -361,9 +368,12 @@ function_decl fun1 test1.c 29:5
integer_cst -2147483648 - min value
integer_cst 2147483647 - max value
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ Unsupported node type: modify_expr - operand - expresssion
cleanup_point_expr - statement
- Unsupported node type: expr_stmt - operand - statement
+ expr_stmt - operand
+ Unsupported node type: call_expr - expresssion - operand
Unsupported node type: if_stmt - statement - operand
block - operand
var_decl a test1.c 31:6 - block vars
diff --git a/test/test1-02.txt b/test/test1-02.txt
index 3de236d..4982743 100644
--- a/test/test1-02.txt
+++ b/test/test1-02.txt
@@ -48,7 +48,11 @@
2 integer_cst
1 statement_list
2 cleanup_point_expr
+3 expr_stmt
+4 convert_expr
2 cleanup_point_expr
+3 expr_stmt
+4 convert_expr
0 function_decl test1.c
1 function_type
2 integer_type
@@ -77,6 +81,8 @@
5 integer_cst
3 statement_list
4 cleanup_point_expr
+5 expr_stmt
+6 convert_expr
4 decl_expr
5 var_decl test1.c
6 integer_cst
@@ -94,6 +100,7 @@
7 integer_cst
7 integer_cst
4 cleanup_point_expr
+5 expr_stmt
4 return_expr
5 init_expr
6 result_decl test1.c
@@ -242,7 +249,10 @@
7 integer_cst
7 integer_cst
3 cleanup_point_expr
+4 expr_stmt
+5 convert_expr
3 cleanup_point_expr
+4 expr_stmt
2 block
3 var_decl test1.c
4 integer_cst
diff --git a/test/test1-03.txt b/test/test1-03.txt
index 3ec03d2..bd372fa 100644
--- a/test/test1-03.txt
+++ b/test/test1-03.txt
@@ -1,10 +1,10 @@
-Allocations before cleanup: 51
+Allocations before cleanup: 55
Allocations after cleanup: 0
-Allocations before cleanup: 80
+Allocations before cleanup: 83
Allocations after cleanup: 0
Allocations before cleanup: 36
Allocations after cleanup: 0
-Allocations before cleanup: 93
+Allocations before cleanup: 96
Allocations after cleanup: 0
Allocations before cleanup: 50
Allocations after cleanup: 0
diff --git a/test/test1-04.txt b/test/test1-04.txt
index 463c2be..ec076c5 100644
--- a/test/test1-04.txt
+++ b/test/test1-04.txt
@@ -1,9 +1,9 @@
-Unsupported node type: expr_stmt
-Unsupported node type: expr_stmt
+Unsupported node type: modify_expr
+Unsupported node type: modify_expr
Unsupported node type: while_stmt
-Unsupported node type: expr_stmt
-Unsupported node type: expr_stmt
+Unsupported node type: call_expr
+Unsupported node type: call_expr
Unsupported node type: if_stmt
-Unsupported node type: expr_stmt
-Unsupported node type: expr_stmt
+Unsupported node type: modify_expr
+Unsupported node type: call_expr
Unsupported node type: if_stmt