📄 changelog
字号:
rather than GenericProc. (getMethods, inline, isApplicable, mtch0, match1, match2, match, match4, numArgs): Remove no-longer-appropriate methods. (makeExp, applyN, setN, rewrite): New methods. (makeMethod, makeMethodExp, fieldDecl, staticFieldDecl, makeDecl, invokeDecl, invokeStaticDecl): New static fields. * SlotSet.java (setField$Ex): Rename to set$Mnfield$Ex to match current mangling scheme for field names. (setStaticField$Ex): Likewise rename to set$Mnstatic$Mnfield$Ex. * SlotGet.java (field, staticField): Update setter references. * FieldLocation.java (get): Return defaultValue on setup exception.2005-07-21 Per Bothner <per@bothner.com> * ClassMemberLocation.java (defineAll): Inline one overload in other, since we we only need/use one variation.2005-07-20 Per Bothner <per@bothner.com> * StaticFieldLocation.java (isConstant): Remove - use inherited method.2005-06-02 Per Bothner <per@bothner.com> * FieldLocation.java (getDeclaration): Trivial improvement.2005-05-27 Per Bothner <per@bothner.com> * FieldLocation.java (get): Fix handling of INDIRECT_LOCATION.2005-05-19 Per Bothner <per@bothner.com> * ClassMethods.java (checkMethod): New method overloading. * SlotGet.java (compile): Use new method to avoid premature mangling. (getField): Instead, we have to mangle a field name here.2005-05-17 Per Bothner <per@bothner.com> * Invoke.java (inline): Fix logic error in okCount==0 case. (append): New private jeper method. (inline): Use append to format warnings.2005-05-14 Per Bothner <per@bothner.com> * StaticFieldLocation.java (get): Setting value field from result of super.get violates latter's invariant.2005-04-20 Per Bothner <per@bothner.com> * FieldLocation.java (setup): Call super.setup() to set rfield. * ClassMemberLocation.java (setup): Use initCause to set cause, if use:java.lang.Throwable.getCause PreProcess keyword is set (default).2005-03-29 Per Bothner <per@bothner.com> * FieldLocation.java (isIndirectLocation): Make public - for require. (getDeclaration): Get declaration via ModuleInfo.2005-03-28 Per Bothner <per@bothner.com> * SlotGet.java (field, staticField): Make fields final. * SlotGet.java (compile): Remove ineffective/obsolete test for indirection if Symbol - was never updated to use Location. (apply): Remove extra indirection if Location. * SlotSet.java (apply, compile): Likewise.2005-03-24 Per Bothner <per@bothner.com> * FieldLocation.java (getField, getFType): New methods. * FieldLocation.java (getDeclaration): Do setKindFlags if needed.2005-03-23 Per Bothner <per@bothner.com> * FieldLocation.java (PROCEDURE, SYNTAX, KIND_FLAGS_SET): New flags. (setProcedure, setSyntax): Also set CONSTANT and KIND_FLAGS_SET. (setKindFlags): New function. (isProcedureOrSyntax, getDeclaration, setup): Use setKindFlags. (isConstant, isBound): Use setKindFlags to avoid loading class..2005-03-16 Per Bothner <per@bothner.com> * ClassMemberLocation.java (defineAll): Skip PRIVATE_PREFIX and "*$instance" fields.2005-03-11 Per Bothner <per@bothner.com> * FieldLocation.java (PROCEDURE, SYNTAX): New constants. (setup): Tweak accordingly. (setProcedure, setSyntax, isProcedureOrSyntax): New methods. * StaticFieldLocation.java (define): Return StaticFieldLocation.2005-03-07 Per Bothner <per@bothner.com> * InstanceOf.java: Update Interpreter -> Language.2005-03-04 Per Bothner <per@bothner.com> * ClassMemberLocation.java: Update Interpreter -> Language. * SlotGet.java: Likewise. * SlotSet.java: Likewise.2005-03-03 Per Bothner <per@bothner.com> * ClassMemberLocation.java (getInstance, setInstance): New methods. (make): Remove method. * FieldLocation.java: Mew class, extends ClassMemberLocation. * Makefile.am: Update accordingly. * StaticFieldLocation.java: Changed to extend FieldLocation. (decl, value, getDeclaration): Moved to FieldLocation.2005-03-02 Per Bothner <per@bothner.com> * InstanceOf.java (emitIsInstance): Update getInterpreter->getLanguage.2005-02-24 Per Bothner <per@bothner.com> * ClassMethodProc.java: Update Interpreter->Language. * ClassMethods.java: Likewise. * Invoke.java: Likewise.2005-02-07 Per Bothner <per@bothner.com> * ClassMethods.java (classMethods): New static field. * StaticFieldLocation.java (make): New static factory method. * ClassMemberLocation (make(String,String)): Remove factory method.2005-01-29 Per Bothner <per@bothner.com> * ClassMethods.java (apply(String, String)): Remove no-longer-used static method.2005-01-07 Per Bothner <per@bothner.com> * SlotGet.java (apply2): Update to use non-deprecated method. * StaticFieldLocation.java: Split imports to avoid gcj 3.4.2 bug.2004-12-29 Per Bothner <per@bothner.com> * ClassMemberLocation.java (define): Minor non-functional tweaks. * StaticFieldLocation.java: New constructor - currently unused.2004-12-27 Per Bothner <per@bothner.com> * ClassMemberLocation.java (defineAll): Ignore fields whose names start with PRIVATE_PREFIX.2004-12-07 Per Bothner <per@bothner.com> * SlotGet.java: Update to use Location in place of Symbol. * SlotSet.java: Likewise. * ClassMemberConstraint.java: Removed class, replaced by ... * ClassMemberLocation.java: New class, extends Location. * StaticFieldConstraint.java: Removed class, replaced by ... * StaticFieldLocation.java: New class, extends ClassMemberLocation. * Makefile.am: Update accordingly.2004-12-05 Per Bothner <per@bothner.com> * Invoke.java (inline): Add overloading. Support constructing PairClasstype instances with static-link. * ClassMethodProc.java: New class, extends GenericProc. * Makefile.am: Update accordingly.2004-10-14 Per Bothner <per@bothner.com> * InstanceOf.java (compile): Call usedClass. Fixes bug reported today by Dominique Boucher.2004-08-05 Chris Dean <ctdean@sokitomi.com> * SlotGet.java (Inlineable): Check for "isFname" methods. * SlotSet.java (Inlineable): Likewise.2004-08-08 Per Bothner <per@bothner.com> * Invoke.java (applyN): Use new matchN method. Don't use applyV. * TypeSwitch.java (apply): Use new matchN/check0 methods.2004-08-03 Per Bothner <per@bothner.com> * TypeSwitch.java: Extend MethodProc instead of CpsProcedure.2004-07-20 Per Bothner <per@bothner.com> * ArrayLength.java: Remove unused import statements. * TypeSwitch.java: Likewise.2004-05-03 Per Bothner <per@bothner.com> * ClassMemberConstraint.java (define): If existing constaint is ClassMemberConstraint and value is the same, do nothing. This fixes an optimization bug where car/cdr GenericProcs did not get resolved.2004-04-17 Per Bothner <per@bothner.com> * Invoke.java (inline): Suppress most warnings if the flag warn-invoke-unknown-method flag is turned off.2004-02-11 Per Bothner <per@bothner.com> * ClassMethods.java (getMethods - two overloads): New parameter 'caller'; pass it to MethodFilter. Remove redundant modifiers test. (class MethodFilter): Add caller field. (select): Check if method is accessible. * Invoke.java (getMethods): New parameter 'caller'. (inline): Get our calling class and pass it to getMethods. (getMethods(5 params)): Inline in getStaticMethod. * SlotGet.java (compile): Check if field/method is accessible. * SlotSet.java (compile): Check if field/method is accessible.2003-11-09 Per Bothner <per@bothner.com> * ClassMethods.java (class MethodFilter): Enhance so it also matches methods whose names in "$X" or "$V$X".2003-10-30 Per Bothner <per@bothner.com> * OccurrenceType.java: Change to extends ObjectType. This sets size to 4 so isVoid returns false. * OccurrenceType.java (toString): New method.2003-10-19 Per Bothner <per@bothner.com> * Invoke.java (inline): Check 'warn-invoke-unknown-method' option before emitting warning.2003-10-07 Per Bothner <per@bothner.com> * ClassMemberConstraint.java (define): Check for Procedure whose name is a Symbol.2003-09-30 Per Bothner <per@bothner.com> * ClassMemberConstraint.java (get): Inline the 'setup' method, but return defaultValue instead of throwing UnboundSymbol.2003-08-09 Per Bothner <per@bothner.com> * ClassMemberConstraint.java (define): Demangle field name when field is non-final.2003-07-15 Chris Dean <Chris.Dean@sokitomi.com> * ClassMethods.java (removeRedundantMethods): New helper method. (getMethods): Handle extra is_special flag, for invoke-special. * Invoke.java (invokeSpecial): New static field. (applyN): Check for and dis-allow invoke-special. (getMethods): Handle invoke-special. 2003-07-12 Chris Dean <Chris.Dean@sokitomi.com> * ArrayGet.java (Externalizable): Implement writeExternal, readExternal. Fixes Savannah bug #4289 * ArraySet.java (Externalizable): Likewise * ArrayNew.java (Externalizable): Likewise * ArrayLength.java (Externalizable): Likewise 2003-06-06 Per Bothner <per@bothner.com> * Invoke.java (inlineClassName, inline): Call ApplyExp.setLine.2003-05-17 Per Bothner <per@bothner.com> * Invoke.java (applyN, applyN): Use Symbol's getName method. * Invoke.java (inlineClassName): Take InlineCalls parameter instead of Interpreter. Get latter from former. If type is a Classtype and isExisting, emit error is not found. * InstanceOf.java (inline): Update call to inlineClassName. * SlotGet.java (inline): Likewise. * SlotSet.java (inline): Likewise.2003-05-16 Per Bothner <per@bothner.com> * ClassMethods.java (checkName): Take new 'reversible' parameter. * Invoke.java (getMethodName): Pass false to checkName. * SlotGet.java (compile, getReturnType): Pass true to checkName. * SlotSet.java (compile): Likewise. Fixes bug reported 05-13 by Chris Dean <Chris.Dean@sokitomi.com>.2003-05-13 Per Bothner <per@bothner.com> * OccurrenceType.java: New class, extends Type. * Makefile.am (java_sources): Add new file.2003-05-04 Per Bothner <per@bothner.com> * Invoke.java (applyN): Revert 04-30 change. * ClassMethods.java (apply): Mangle method names non-reversibly. (checkName): Likewise.2003-04-30 Per Bothner <per@bothner.com> * Invoke.java (applyN): Use mangleNameIfNeeded rather than plain mangleName for consistency.2002-11-23 Per Bothner <per@bothner.com> * StaticFieldConstraint.java: Moved from kawa.standard. * Makefile.am (java_sources): Add new file.2002-11-20 Per Bothner <bothner@bothner.com> * ClassMethods.java: Convert from ProcedureN to Procedure2. (apply2): New method, replaces applyN. (apply(String,String)): New method. * InvokeNamed.java: Remove - don't need it after all. * Makefile.am: Update accordingly.2002-11-16 Per Bothner <per@bothner.com> * InvokeNamed.java: New class, extends ProcedureN. * Makefile.am (java_sources): Add InvokeNamed.java.2002-11-15 Per Bothner <per@bothner.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -