First round of director mods

- Removed asserts


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-09-20 15:12:21 +00:00
commit a1bc88865c
4 changed files with 0 additions and 14 deletions

View file

@ -2773,7 +2773,6 @@ class JAVA : public Language {
/* Preamble code */
Printf(w->code, "jenv = __acquire_jenv();\n");
Printf(w->code, "assert(jenv);\n");
Printf(w->code, "if (!__override[%d]) {\n", classmeth_off);
if (!pure_virtual) {
@ -2823,7 +2822,6 @@ class JAVA : public Language {
Delete(tp);
}
Printf(w->code, "assert(__get_self());\n");
if (!recursive_upcall) {
if (!is_const)
Printf(w->code, "if (!__get_ricochet(%d)) {\n", classmeth_off);