* src/vm/resolve.c (resolve_class_from_name): RESOLVE_VERBOSE changes.
authoredwin <none@none>
Thu, 14 Sep 2006 18:55:03 +0000 (18:55 +0000)
committeredwin <none@none>
Thu, 14 Sep 2006 18:55:03 +0000 (18:55 +0000)
commit147723b8c69c648e6a83ce1fb394becccf1fc28c
treebc264ab94d20c5c6f809fcda54f303ddcf959cfe
parenta332748022eee4c5161722d9efc9d6d06c62a5fa
* src/vm/resolve.c (resolve_class_from_name): RESOLVE_VERBOSE changes.
(resolve_classref_or_classinfo): Likewise.
(resolve_class_from_typedesc): Likewise.
(resolve_and_check_subtype_set): Likewise.
(new_create_unresolved_field): Likewise.
(new_create_unresolved_method): Likewise.

(new_resolve_field_verifier_checks): Ported to unified_variables.
(new_resolve_field_lazy): Likewise.
(new_resolve_method_verifier_checks): Likewise.
(new_resolve_method_lazy): Likewise.
(new_constrain_unresolved_field): Likewise.

(unresolved_subtype_set_from_typeinfo): Take classname directly,
instead of the constant_classref *.

(create_unresolved_class): Pass classname to
unresolved_subtype_set_from_typeinfo.

(new_constrain_unresolved_method): Ported to unified_variables.
Pass classname to unresolved_subtype_set_from_typeinfo. (This should
fix a bug when fieldref->p.classref was invalid.)

(new_constrain_unresolved_method): Ported to unified_variables.
Pass classname to unresolved_subtype_set_from_typeinfo.

* src/vm/resolve.h (jit/reg.h): Include this before typeinfo.h
(new_resolve_method_lazy): Added jd parameter.
(new_resolve_field_lazy): Likewise.
(new_constrain_unresolved_field): Likewise.
(new_constrain_unresolved_method): Likewise.

* src/vm/jit/parse.c (new_parse): Pass jd to resolve functions.

--HG--
branch : unified_variables
src/vm/jit/parse.c
src/vm/resolve.c
src/vm/resolve.h