Mercurial > hg > truffle
comparison src/share/vm/oops/klassVtable.cpp @ 1489:cff162798819
6888953: some calls to function-like macros are missing semicolons
Reviewed-by: pbk, kvn
author | jcoomes |
---|---|
date | Sun, 11 Oct 2009 16:19:25 -0700 |
parents | d3676b4cb78c |
children | f03d0a26bf83 |
comparison
equal
deleted
inserted
replaced
1488:615a9d95d265 | 1489:cff162798819 |
---|---|
897 void klassItable::initialize_itable_for_interface(int method_table_offset, KlassHandle interf_h, bool checkconstraints, TRAPS) { | 897 void klassItable::initialize_itable_for_interface(int method_table_offset, KlassHandle interf_h, bool checkconstraints, TRAPS) { |
898 objArrayHandle methods(THREAD, instanceKlass::cast(interf_h())->methods()); | 898 objArrayHandle methods(THREAD, instanceKlass::cast(interf_h())->methods()); |
899 int nof_methods = methods()->length(); | 899 int nof_methods = methods()->length(); |
900 HandleMark hm; | 900 HandleMark hm; |
901 KlassHandle klass = _klass; | 901 KlassHandle klass = _klass; |
902 assert(nof_methods > 0, "at least one method must exist for interface to be in vtable") | 902 assert(nof_methods > 0, "at least one method must exist for interface to be in vtable"); |
903 Handle interface_loader (THREAD, instanceKlass::cast(interf_h())->class_loader()); | 903 Handle interface_loader (THREAD, instanceKlass::cast(interf_h())->class_loader()); |
904 int ime_num = 0; | 904 int ime_num = 0; |
905 | 905 |
906 // Skip first methodOop if it is a class initializer | 906 // Skip first methodOop if it is a class initializer |
907 int i = ((methodOop)methods()->obj_at(0))->name() != vmSymbols::class_initializer_name() ? 0 : 1; | 907 int i = ((methodOop)methods()->obj_at(0))->name() != vmSymbols::class_initializer_name() ? 0 : 1; |