You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2007/01/17 09:22:44 UTC
svn commit: r496959 - in /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit:
compile.cpp jit_runtime_support.cpp native_overrides.cpp
primitives_support.cpp
Author: varlax
Date: Wed Jan 17 00:22:43 2007
New Revision: 496959
URL: http://svn.apache.org/viewvc?view=rev&rev=496959
Log:
Applied HARMONY-2924 [drlvm] spelling errors in vmocre/jit
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/compile.cpp
harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp
harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/native_overrides.cpp
harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/primitives_support.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/compile.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/compile.cpp?view=diff&rev=496959&r1=496958&r2=496959
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/compile.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/compile.cpp Wed Jan 17 00:22:43 2007
@@ -244,7 +244,7 @@
if (nso) cs = nso(cs, method);
assert(cs);
- // Increment stats (number of nonoverriden calls)
+ // Increment stats (number of nonoverridden calls)
#ifdef VM_STATS
cs = lil_parse_onto_end(cs,
"inc [%0i:pint];",
@@ -261,7 +261,7 @@
cs = oh_gen_allocate_handles(cs, number_of_object_handles, "l0", "l1");
assert(cs);
- //***** Part 2: Initialise object handles
+ //***** Part 2: Initialize object handles
if (is_static) {
void *jlc = clss->get_class_handle();
@@ -289,7 +289,7 @@
}
}
- //***** Part 3: Synchronise
+ //***** Part 3: Synchronize
if (is_synchronised) {
if (is_static) {
cs = lil_parse_onto_end(cs,
@@ -446,7 +446,7 @@
assert(cs);
}
- //***** Part 9: Synchronise
+ //***** Part 9: Synchronize
if (is_synchronised) {
if (is_static) {
cs = lil_parse_onto_end(cs,
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp?view=diff&rev=496959&r1=496958&r2=496959
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/jit_runtime_support.cpp Wed Jan 17 00:22:43 2007
@@ -228,7 +228,7 @@
// The generic type test sequence first checks for whether the fast scheme
// can be used, if so it uses it, otherwise it calls into the VM to do the test.
-// This is parameterised by:
+// This is parameterized by:
// * Is there a null test, if so is null in the type or not
// * Should the test outcome be returned or should an exception be thrown on failure, object returned on success
// * Is the type known
@@ -255,10 +255,10 @@
// Null check
if (null!=RTTN_NoNullCheck) {
if (null==RTTN_NullMember) {
- cs = lil_parse_onto_end(cs, "jc i0!=%0i:ref,null_check_faild;",
+ cs = lil_parse_onto_end(cs, "jc i0!=%0i:ref,null_check_failed;",
VM_Global_State::loader_env->managed_null);
cs = lil_parse_onto_end(cs, (res==RTTR_ReturnOutcome ? "r=1:g4; ret;" : "r=i0; ret;"));
- cs = lil_parse_onto_end(cs, ":null_check_faild;");
+ cs = lil_parse_onto_end(cs, ":null_check_failed;");
} else {
cs = lil_parse_onto_end(cs, "jc i0=%0i:ref,failed;",
VM_Global_State::loader_env->managed_null);
@@ -690,9 +690,9 @@
}
///////////////////////////////////////////////////////////
-// Class Initialise
+// Class Initialize
-// Is a class initialised
+// Is a class initialized
static POINTER_SIZE_INT is_class_initialized(Class *clss)
{
#ifdef VM_STATS
@@ -723,7 +723,7 @@
}
-// Initialise class helper
+// Initialize class helper
static NativeCodePtr rth_get_lil_initialize_class(int* dyn_count)
{
static NativeCodePtr addr = NULL;
@@ -1687,7 +1687,7 @@
hythread_suspend_disable();
if (ret == NULL) {
vm_rt_class_throw_linking_error(klass, cp_idx, opcode);
- assert(false); // must be unreachanble
+ assert(false); // must be unreachable
}
return ret;
}
@@ -1949,7 +1949,7 @@
return rth_get_lil_lushr(dyn_count);
case VM_RT_LMUL:
#ifdef VM_LONG_OPT
- case VM_RT_LMUL_CONST_MULTIPLIER: // Not optimised, but functional
+ case VM_RT_LMUL_CONST_MULTIPLIER: // Not optimized, but functional
#endif
return rth_get_lil_lmul(dyn_count);
case VM_RT_LREM:
@@ -1958,9 +1958,9 @@
return rth_get_lil_ldiv(dyn_count);
case VM_RT_ULDIV:
return rth_get_lil_ludiv(dyn_count);
- case VM_RT_CONST_LDIV: // Not optimised, but functional
+ case VM_RT_CONST_LDIV: // Not optimized, but functional
return rth_get_lil_ldiv_const(dyn_count);
- case VM_RT_CONST_LREM: // Not optimised, but functional
+ case VM_RT_CONST_LREM: // Not optimized, but functional
return rth_get_lil_lrem_const(dyn_count);
case VM_RT_IMUL:
return rth_get_lil_imul(dyn_count);
@@ -2250,7 +2250,7 @@
// appends code that throws a ClassCastException to a LIL stub
static LilCodeStub *gen_lil_throw_ClassCastException_for_inlining(LilCodeStub *cs) {
- ABORT("The funclion is depricated, should be never called");
+ ABORT("The function is deprecated, should be never called");
// if instanceof returns false, throw an exception
LilCodeStub *cs2 = lil_parse_onto_end
(cs,
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/native_overrides.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/native_overrides.cpp?view=diff&rev=496959&r1=496958&r2=496959
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/native_overrides.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/native_overrides.cpp Wed Jan 17 00:22:43 2007
@@ -149,7 +149,7 @@
// Is it within limit?
cs = lil_parse_onto_end(cs, "jc l2<l3,fallback;");
- // Yes, store new frontier, initialise vtable
+ // Yes, store new frontier, initialize vtable
cs = lil_parse_onto_end(cs, "st [l1+%0i:pint],l3;", current_offset);
cs = lil_parse_onto_end(cs, "ld l3,[l0+%0i:pint];", offset_allocation_handle);
cs = lil_parse_onto_end(cs, "l2=r; st [l2+0:pint],l3;");
@@ -268,7 +268,7 @@
s = jump8(s, i0);
char* patch3 = s-1;
- // No, do a rep movsd
+ // No, do a rep MOVSD
assert(s-patch2-1 < 128);
*patch2 = (char)(s-patch2-1);
*s++ = (char)0xF3 ;
@@ -447,7 +447,7 @@
return NSOTable;
}
-// Frees memory occupated by NSO table
+// Frees memory occupied by NSO table
void nso_clear_lookup_table(NSOTableItem* NSOTable)
{
assert(NSOTable);
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/primitives_support.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/primitives_support.cpp?view=diff&rev=496959&r1=496958&r2=496959
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/primitives_support.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jit/primitives_support.cpp Wed Jan 17 00:22:43 2007
@@ -243,42 +243,42 @@
switch (sig) { // Value argument signature
case 'Z':
- // Get the fielID of the value field of a Boolean object:
+ // Get the fieldID of the value field of a Boolean object:
value_id = gid_boolean_value;
value.z = GetBooleanField (env, wobj, value_id);
break;
case 'B':
- // Get the fielID of the value field of a Byte object:
+ // Get the fieldID of the value field of a Byte object:
value_id = gid_byte_value;
value.b = GetByteField (env, wobj, value_id);
break;
case 'C':
- // Get the fielID of the value field of a Character object:
+ // Get the fieldID of the value field of a Character object:
value_id = gid_char_value;
value.c = GetCharField (env, wobj, value_id);
break;
case 'S':
- // Get the fielID of the value field of a Short object:
+ // Get the fieldID of the value field of a Short object:
value_id = gid_short_value;
value.s = GetShortField (env, wobj, value_id);
break;
case 'I':
- // Get the fielID of the value field of a Integer object:
+ // Get the fieldID of the value field of a Integer object:
value_id = gid_int_value;
value.i = GetIntField (env, wobj, value_id);
break;
case 'J':
- // Get the fielID of the value field of a Long object:
+ // Get the fieldID of the value field of a Long object:
value_id = gid_long_value;
value.j = GetLongField (env, wobj, value_id);
break;
case 'F':
- // Get the fielID of the value field of a Float object:
+ // Get the fieldID of the value field of a Float object:
value_id = gid_float_value;
value.f = GetFloatField (env, wobj, value_id);
break;
case 'D':
- // Get the fielID of the value field of a Double object:
+ // Get the fieldID of the value field of a Double object:
value_id = gid_double_value;
value.d = GetDoubleField (env, wobj, value_id);
break;