Lines 817-830
Link Here
|
817 |
node.getChild(1).visit(this); |
817 |
node.getChild(1).visit(this); |
818 |
if (mrefs.assert2 == 0) { |
818 |
if (mrefs.assert2 == 0) { |
819 |
mrefs.assert2 = code.pool.Methodref( |
819 |
mrefs.assert2 = code.pool.Methodref( |
820 |
"org/python/core/Py", "assert", |
820 |
"org/python/core/Py", "assert_", |
821 |
"(" + $pyObj + $pyObj + ")V"); |
821 |
"(" + $pyObj + $pyObj + ")V"); |
822 |
} |
822 |
} |
823 |
code.invokestatic(mrefs.assert2); |
823 |
code.invokestatic(mrefs.assert2); |
824 |
} else { |
824 |
} else { |
825 |
if (mrefs.assert1 == 0) { |
825 |
if (mrefs.assert1 == 0) { |
826 |
mrefs.assert1 = code.pool.Methodref( |
826 |
mrefs.assert1 = code.pool.Methodref( |
827 |
"org/python/core/Py", "assert", |
827 |
"org/python/core/Py", "assert_", |
828 |
"(" + $pyObj + ")V"); |
828 |
"(" + $pyObj + ")V"); |
829 |
} |
829 |
} |
830 |
code.invokestatic(mrefs.assert1); |
830 |
code.invokestatic(mrefs.assert1); |