natString.cc: correct argument order for _Jv_AllocPtrFreeObj
* java/lang/natString.cc: correct argument order for _Jv_AllocPtrFreeObj From-SVN: r47035
This commit is contained in:
parent
49e197251c
commit
aa0149ff0c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-11-14 Hans Boehm <Hans_Boehm@hp.com>
|
||||||
|
|
||||||
|
* java/lang/natString.cc: correct argument order for
|
||||||
|
_Jv_AllocPtrFreeObj
|
||||||
|
|
||||||
2001-11-14 Tom Tromey <tromey@redhat.com>
|
2001-11-14 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
|
* verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
|
||||||
|
|
|
@ -400,7 +400,7 @@ _Jv_AllocString(jsize len)
|
||||||
#else
|
#else
|
||||||
// Class needs no initialization, and there is no finalizer, so
|
// Class needs no initialization, and there is no finalizer, so
|
||||||
// we can go directly to the collector's allocator interface.
|
// we can go directly to the collector's allocator interface.
|
||||||
jstring obj = (jstring) _Jv_AllocPtrFreeObj(&StringClass, sz);
|
jstring obj = (jstring) _Jv_AllocPtrFreeObj(sz, &StringClass);
|
||||||
#endif
|
#endif
|
||||||
obj->data = obj;
|
obj->data = obj;
|
||||||
obj->boffset = sizeof(java::lang::String);
|
obj->boffset = sizeof(java::lang::String);
|
||||||
|
|
Loading…
Add table
Reference in a new issue