* src/vm/builtin.c (builtin_init): Documented.
authoredwin <none@none>
Fri, 26 May 2006 12:19:43 +0000 (12:19 +0000)
committeredwin <none@none>
Fri, 26 May 2006 12:19:43 +0000 (12:19 +0000)
(builtin_trace_args): Documented.
(builtin_displaymethodstop): Documented.

* src/vm/jit/alpha/md-abi.c (md_param_alloc): Documented.

* src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
Documented.

* src/vm/jit/codegen-common.c (methodtree_comparator): Documented.
(codegen_insertmethod): Documented.

* src/toolbox/util.c (getcwd): Documented.

src/toolbox/util.c
src/vm/builtin.c
src/vm/jit/allocator/simplereg.c
src/vm/jit/alpha/md-abi.c
src/vm/jit/codegen-common.c

index 610e6aa955aea3cdbf084ba27ae2f064eca83924..b21495559cab78270a6ca55126b6b3ec9d937d80 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
 
    Changes:
 
-   $Id: util.c 4357 2006-01-22 23:33:38Z twisti $
+   $Id: util.c 4960 2006-05-26 12:19:43Z edwin $
 
 */
 
 
 */
 
 
 /* getcwd **********************************************************************
 
 
 /* getcwd **********************************************************************
 
-   XXX
+   Return the current working directory.
+
+   RETURN VALUE:
+       pointer to a char array allocated by MNEW, or
+          NULL if memory could not be allocated.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
index ae613c83476c16875b097a2fd5b071df123aad3e..66d6745209a1ec1ae600a4a3ce44e755969ca9c6 100644 (file)
@@ -37,7 +37,7 @@
    calls instead of machine instructions, using the C calling
    convention.
 
    calls instead of machine instructions, using the C calling
    convention.
 
-   $Id: builtin.c 4921 2006-05-15 14:24:36Z twisti $
+   $Id: builtin.c 4960 2006-05-26 12:19:43Z edwin $
 
 */
 
 
 */
 
@@ -245,7 +245,7 @@ static void builtintable_sort_automatic(void)
 
 /* builtin_init ****************************************************************
 
 
 /* builtin_init ****************************************************************
 
-   XXX
+   Initialize the global table of builtin functions.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
@@ -1271,7 +1271,7 @@ java_objectheader *builtin_trace_exception(java_objectheader *xptr,
 
 /* builtin_trace_args **********************************************************
 
 
 /* builtin_trace_args **********************************************************
 
-   XXX
+   Print method call with arguments for -verbose:call.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
@@ -1537,7 +1537,7 @@ void builtin_trace_args(s8 a0, s8 a1,
 
 /* builtin_displaymethodstop ***************************************************
 
 
 /* builtin_displaymethodstop ***************************************************
 
-   XXX
+   Print method exit for -verbose:call.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
index a814a092ae7d2795145a82bf110288b9599cdf99..2ec392e9ff5c0b429cf0e5786e5283cace2d3e76 100644 (file)
@@ -32,7 +32,7 @@
             Michael Starzinger
             Edwin Steiner
 
             Michael Starzinger
             Edwin Steiner
 
-   $Id: simplereg.c 4921 2006-05-15 14:24:36Z twisti $
+   $Id: simplereg.c 4960 2006-05-26 12:19:43Z edwin $
 
 */
 
 
 */
 
@@ -1164,7 +1164,7 @@ static void reg_mark_copy(registerdata *rd, stackptr src_top, stackptr src_botto
 
 /* allocate_scratch_registers **************************************************
 
 
 /* allocate_scratch_registers **************************************************
 
-   XXX
+   Allocate temporary (non-interface, non-local) registers.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
index afa7f49cc5c11330cec4607b45770f6f394f1faf..ac5e6875c65b8a374b3b8568f6ac221c40de8930 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes: Christian Ullrich
 
 
    Changes: Christian Ullrich
 
-   $Id: md-abi.c 4357 2006-01-22 23:33:38Z twisti $
+   $Id: md-abi.c 4960 2006-05-26 12:19:43Z edwin $
 
 */
 
 
 */
 
@@ -63,7 +63,8 @@ s4 nregdescfloat[] = {
 
 /* md_param_alloc **************************************************************
 
 
 /* md_param_alloc **************************************************************
 
-   XXX
+   Allocate the parameters of the given method descriptor according to the
+   calling convention of the platform.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
index 95c0399a5a68ac9e47689d9bf76150acefc7bd1c..294dc09237929e781cd853a456144f9c5027feaf 100644 (file)
@@ -48,7 +48,7 @@
    memory. All functions writing values into the data area return the offset
    relative the begin of the code area (start of procedure).   
 
    memory. All functions writing values into the data area return the offset
    relative the begin of the code area (start of procedure).   
 
-   $Id: codegen-common.c 4921 2006-05-15 14:24:36Z twisti $
+   $Id: codegen-common.c 4960 2006-05-26 12:19:43Z edwin $
 
 */
 
 
 */
 
@@ -469,7 +469,7 @@ void codegen_addpatchref(codegendata *cd, functionptr patcher, voidptr ref,
 #if defined(__I386__) || defined(__X86_64__) || defined(ENABLE_INTRP) || defined(DISABLE_GC)
 /* methodtree_comparator *******************************************************
 
 #if defined(__I386__) || defined(__X86_64__) || defined(ENABLE_INTRP) || defined(DISABLE_GC)
 /* methodtree_comparator *******************************************************
 
-   XXX
+   Comparator function used for the AVL tree of methods.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
@@ -502,7 +502,7 @@ static s4 methodtree_comparator(const void *pc, const void *element)
 
 /* codegen_insertmethod ********************************************************
 
 
 /* codegen_insertmethod ********************************************************
 
-   XXX
+   Insert the machine code range of a method into the AVL tree of methods.
 
 *******************************************************************************/
 
 
 *******************************************************************************/
 
@@ -526,7 +526,7 @@ void codegen_insertmethod(u1 *startpc, u1 *endpc)
 
 /* codegen_findmethod **********************************************************
 
 
 /* codegen_findmethod **********************************************************
 
-   XXX
+   Find the PV for the given PC by searching in the AVL tree of methods.
 
 *******************************************************************************/
 
 
 *******************************************************************************/