summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-05-17 11:45:44 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-05-17 11:45:44 (GMT)
commit2880e7da55a9d5ff7d8ba8fed48743f0e15733a4 (patch)
tree99e6784d6322b23267714700b634b3fd1d85ace6
parenta03fb962566180610243462d6b2b9bd44c64de07 (diff)
parent09ec4a59520b6557298cffe32e679a6733928077 (diff)
downloadtcl-2880e7da55a9d5ff7d8ba8fed48743f0e15733a4.zip
tcl-2880e7da55a9d5ff7d8ba8fed48743f0e15733a4.tar.gz
tcl-2880e7da55a9d5ff7d8ba8fed48743f0e15733a4.tar.bz2
merge 8.6
-rw-r--r--tests/assemble.test19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/assemble.test b/tests/assemble.test
index 980de68..a9c77e3 100644
--- a/tests/assemble.test
+++ b/tests/assemble.test
@@ -3281,7 +3281,9 @@ test assemble-51.4 {memory leak testing} memory {
} 0
test assemble-52.1 {Bug 3154ea2759} {
- proc __BEGIN {} {
+ apply {{} {
+ # Needs six exception ranges to force the range allocations to use the
+ # malloced store.
::tcl::unsupported::assemble {
beginCatch @badLabel
push error
@@ -3291,7 +3293,7 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel
label @badLabel
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel
endCatch
pop
@@ -3304,7 +3306,7 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel2
label @badLabel2
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel2
endCatch
pop
@@ -3317,7 +3319,7 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel3
label @badLabel3
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel3
endCatch
pop
@@ -3330,7 +3332,7 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel4
label @badLabel4
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel4
endCatch
pop
@@ -3343,7 +3345,7 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel5
label @badLabel5
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel5
endCatch
pop
@@ -3356,13 +3358,12 @@ test assemble-52.1 {Bug 3154ea2759} {
push 0
jump @okLabel6
label @badLabel6
- push 1; # should be pushReturnCode
+ push 1; # should be pushReturnCode
label @okLabel6
endCatch
pop
}
- }
- __BEGIN
+ }}
} {}; # must not crash
rename fillTables {}