Граф коммитов

1123 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 1fb0542545 Made getStackAccessControlContext() parameters typed. 2010-11-25 08:52:11 +00:00
jfrijters d27c87dfe0 Made FromCallerID method signature typed. 2010-11-25 08:50:49 +00:00
jfrijters 0e80cdcc9b Added CallerID and AccessControlContext to be able to use them in method signatures during first-pass compilation. 2010-11-25 08:50:00 +00:00
jfrijters 28325c59b8 Don't call GetIPv6Properties() if IPv6 isn't available. 2010-11-24 15:26:47 +00:00
jfrijters 434b704ec1 Don't create zero length context arrays, use null reference instead. The Java code assumes that a non-null array always contains at least one element. 2010-11-24 12:58:11 +00:00
jfrijters d6bd5ea3a4 File.canWrite() should always return true for directories (on Windows). 2010-11-24 07:06:02 +00:00
jfrijters d556c8d6fc UnauthorizedAccessException caused by already existing file or directory should cause createFileExclusively() to return false instead of throwing an exception. 2010-11-24 06:41:25 +00:00
jfrijters 0ea53c4cbb Remove implementation specific methods from top of stack trace for threads started from Java. 2010-11-24 06:38:14 +00:00
jfrijters d2b95f4aba The full Thread parent hierarchy should be considered when capturing the stack. 2010-11-23 09:39:49 +00:00
jfrijters cafd10024b AccessController.doPrivileged() stack frame was not recognized properly. 2010-11-23 08:08:16 +00:00
jfrijters b6940c7dfb Made Thread constructor stack capture more lazy. 2010-11-23 07:30:30 +00:00
jfrijters 55b6fe04fe Fixed first-pass conditional compilation condition. 2010-11-23 06:21:53 +00:00
jfrijters dae206d60b Made assembly class loader construction lazy. 2010-11-23 05:33:42 +00:00
jfrijters 110ee14a83 Removed trace messages that don't add much value but do cause the tracer to needlessly read configuration data early in initialization. 2010-11-23 04:46:07 +00:00
jfrijters 65cd030688 Made ProtectionDomain for assembly class loader lazy. 2010-11-22 07:07:35 +00:00
jfrijters d22a8e25af Fixed regression introduced by x64 v4 JIT bug workaround. Only (in)equality comparison branches should match the pattern. 2010-11-20 07:35:26 +00:00
jfrijters 4ce877282d Added workaround for https://connect.microsoft.com/VisualStudio/feedback/details/566946/x64-jit-optimization-bug 2010-11-19 08:13:57 +00:00
jfrijters d869e817ae File.lastModified() should return 0 for non-existing files. Fix for #3111432. Thanks to Stephen White for the patch. 2010-11-18 11:12:20 +00:00
jfrijters 4e05d745ad Add support for serializing .NET exceptions. We don't serialize the actual object, but a placeholder instead, to avoid having to implement full .NET serialization interop. 2010-11-18 08:19:59 +00:00
jfrijters b5e0d64fcc Exception cause in stack trace should use Throwable.toString() not System.Exception.ToString(). 2010-11-17 13:08:21 +00:00
jfrijters 09929413b5 Fixed parsing/generating VFS directory names of assemblies with underscores in the name. 2010-11-16 13:52:49 +00:00
jfrijters 5a3a196d92 Avoid security manager check for assembly class loaders. The runtime should be priviliged to create the default assembly class loader and a custom security manager might recursively require the assembly class loader to be loaded (which is only "supported" for custom assembly class loaders). 2010-11-03 07:55:11 +00:00
jfrijters 729174360e Added optimization to remove redundant memory barriers. 2010-10-22 11:47:15 +00:00
jfrijters f111998725 Volatile stores require a memory barrier. Fix for #3086040. 2010-10-21 12:20:13 +00:00
jfrijters 60fdbaf04d Special case MethodImplAttribute to allow it to be used as an annotation. 2010-10-21 10:58:14 +00:00
jfrijters b35c3a24c3 Disabled the new (complicated and possibly broken) optimizations unless IKVM_EXPERIMENTAL_OPTIMIZATIONS environment variable is set. 2010-10-13 06:36:48 +00:00
jfrijters 3aed0d8850 Fixed regression introduced with fault handlers. Exception handlers inside fault handlers could be ignored. 2010-10-13 05:24:33 +00:00
jfrijters 5593445918 Fixed regression in stack trace printing of .NET (not remapped) exceptions introduced in 0.44. The .NET stack trace should not be included in the message. 2010-10-11 10:02:48 +00:00
jfrijters 1b30fcb8ea - Removed EndExceptionBlockFinally and folded the behaviour into EndExceptionBlock (runtime compiler only).
- Removed EndExceptionBlockNoFallThrough() and added "leave guard" branch after every EndExceptionBlock (runtime compiler only).
- Fixed remaining dependencies on exception fall through behavior of ILGenerator.
2010-10-11 05:46:28 +00:00
jfrijters 78bf6d9830 Fixed RemoveDeadCode() bug and re-enabled it. 2010-10-11 05:41:22 +00:00
jfrijters 79f3c932d5 Improved DumpMethod() a bit. 2010-10-11 05:39:27 +00:00
jfrijters 6c699c239a Removed broken ChaseBranches() implementation. 2010-10-11 04:58:10 +00:00
jfrijters 47575b72e8 Commented out dead code elimination optimization, as it is currently broken (or exposes another bug). Also fixed a dependency on DCE. 2010-10-08 14:15:13 +00:00
jfrijters 1c2c49a993 More optimizations. 2010-10-08 12:14:43 +00:00
jfrijters b4d6193115 More optimizations. 2010-10-08 08:06:54 +00:00
jfrijters 47f866bc9c Added more peephole optimizations. 2010-10-07 07:12:35 +00:00
jfrijters 0cdce3aec2 During static compilation we can disable exception block "assistance", so we don't need to track finally blocks. 2010-10-07 07:09:58 +00:00
jfrijters 2f339e8b7d Made line number emitting just-in-time to avoid duplicate entries. 2010-10-07 06:30:26 +00:00
jfrijters afd3adf91b Removed unused pseudo nop. 2010-10-07 06:11:18 +00:00
jfrijters c6f3dcdc2c Implemented ThrowException here, instead of forwarding it to ILGenerator. 2010-10-07 06:07:19 +00:00
jfrijters fb4fcb8cc8 EmitWriteLine isn't used anymore. 2010-10-07 06:04:35 +00:00
jfrijters 88df63d615 Fix to make sure that ikvmc (and ikvmstub) can find assemblies that are part of a multi assembly (shared class loader) group (if the assembly is in the same directory as the main assembly of the group). 2010-10-06 07:39:59 +00:00
jfrijters d44f1a2be8 Moved core assembly detection to the right place, to avoid problems when a non-main assembly of the core assembly set is explicitly referenced. 2010-10-06 04:27:38 +00:00
jfrijters a8c6571b49 Forgot DoEmit() call for constructors defined in xml mapping file. 2010-10-05 06:14:16 +00:00
jfrijters 6e76f50029 Fixed regression. The line number table was not emitted for constructors. 2010-10-05 06:09:49 +00:00
jfrijters ede6f86062 Don't depend on leave/endfinally instructions being inserted automatically by ILGenerator. 2010-10-05 04:54:09 +00:00
jfrijters 4f5835934f Made OpCodeWrapper data member private and added type safe accessors. 2010-10-01 09:22:47 +00:00
jfrijters cec4f20c29 - Removed unnecessary methods from CodeEmitter.
- Removed "Lazy" prefixes in CodeEmitter.
2010-10-01 08:11:49 +00:00
jfrijters 17255f13ed - Moved boxing/unboxing optimizationn to new model.
- Removed stack tracking / LazyGen remnants.
- Fixed comparison optimization to require the release of temporary local variables.
2010-10-01 06:40:49 +00:00
jfrijters 2bc060e265 Moved ldiv/idiv optimization to new model. 2010-10-01 04:41:06 +00:00