[svn:parrot] r45304 - trunk/compilers/imcc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Mar 30 02:12:03 UTC 2010


Author: chromatic
Date: Tue Mar 30 02:12:02 2010
New Revision: 45304
URL: https://trac.parrot.org/parrot/changeset/45304

Log:
[IMCC] Removed more "method" from vtable mentions.

Modified:
   trunk/compilers/imcc/pbc.c
   trunk/compilers/imcc/unit.h

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	Tue Mar 30 01:56:04 2010	(r45303)
+++ trunk/compilers/imcc/pbc.c	Tue Mar 30 02:12:02 2010	(r45304)
@@ -1407,11 +1407,10 @@
         /* Check this is a valid vtable function to override. */
         vtable_index = Parrot_get_vtable_index(interp, vtable_name);
 
-        if (vtable_index == -1) {
+        if (vtable_index == -1)
             IMCC_fatal(interp, 1,
-                "'%S' is not a v-table method, but was used with :vtable.\n",
+                "'%S' is not a vtable, but was used with :vtable.\n",
                 vtable_name);
-        }
 
         /* TODO check for duplicates */
         sub->vtable_index = vtable_index;

Modified: trunk/compilers/imcc/unit.h
==============================================================================
--- trunk/compilers/imcc/unit.h	Tue Mar 30 01:56:04 2010	(r45303)
+++ trunk/compilers/imcc/unit.h	Tue Mar 30 02:12:02 2010	(r45304)
@@ -1,6 +1,6 @@
 /*
  * $Id$
- * Copyright (C) 2003-2009, Parrot Foundation.
+ * Copyright (C) 2003-2010, Parrot Foundation.
  */
 
 #ifndef PARROT_IMCC_UNIT_H_GUARD
@@ -64,10 +64,10 @@
     int               first_avail[4];   /* INSP */
     SymReg           *outer;
     PMC              *sub_pmc;          /* this sub */
-    int               is_vtable_method; /* 1 if a v-table method */
+    int               is_vtable_method; /* 1 if a vtable */
     int               is_method;        /* 1 if a method */
     int               has_ns_entry_name;/* 1 if in ns */
-    char             *vtable_name;      /* v-table method name, if any */
+    char             *vtable_name;      /* vtable name, if any */
     char             *method_name;      /* method name, if any */
     char             *ns_entry_name;    /* ns entry name, if any */
     char             *instance_of;      /* PMC or class this is an instance of


More information about the parrot-commits mailing list