Commit Graph

10524 Commits

Author SHA1 Message Date
Andrey Breslav d689cc0741 Using 'desc' instead of 'erasedSignature' 2013-05-13 17:29:57 +04:00
Andrey Breslav 9efc885c37 Instrumenter doesn't have to do profiling 2013-05-13 17:29:56 +04:00
Andrey Breslav 7782621617 Do not look for instrumenters in TIME mode 2013-05-13 17:29:56 +04:00
Andrey Breslav afe3ff9b6f done() method moved to where it is used 2013-05-13 17:29:55 +04:00
Andrey Breslav 42de8879fe Code beautified a little 2013-05-13 17:29:14 +04:00
Andrey Breslav 81773a0012 Conventions changed to normalReturn + exception = exit 2013-05-13 17:29:13 +04:00
Andrey Breslav ea7e6a1c12 Unneeded hack removed 2013-05-13 17:29:13 +04:00
Andrey Breslav fe0ec5aafb Support error*() methods 2013-05-13 15:55:54 +04:00
Andrey Breslav 4d8dcb5ea8 Stack size for @AllArgs fixed 2013-05-13 15:55:53 +04:00
Andrey Breslav 23be9f8d44 Fixed the case of using 'this' before throw in constructor 2013-05-13 15:55:53 +04:00
Andrey Breslav dc8fca2532 Support @AllArgs 2013-05-13 15:55:52 +04:00
Andrey Breslav 31ce4d85e8 The case of @This at constructor entry point fixed 2013-05-13 15:55:52 +04:00
Andrey Breslav 098cf477f4 Fix parameter indexing for longs and doubles 2013-05-13 15:55:51 +04:00
Andrey Breslav cae2a5e96f Computing stack depth depending on the actual number of parameters of methods being called 2013-05-13 15:55:51 +04:00
Andrey Breslav b748315304 Support @MethodName and @MethodDesc 2013-05-13 15:55:50 +04:00
Andrey Breslav 3cd1cf0807 Support @This parameters 2013-05-13 15:55:50 +04:00
Andrey Breslav d99ea2a783 Only instrument .class files
+ Report exceptions thrown by the instrumenter with the info of the class name
2013-05-13 15:55:49 +04:00
Andrey Breslav 8dfb39ec19 Allow to dump byte codes of instrumented methods 2013-05-13 15:55:49 +04:00
Andrey Breslav 5fd193d88d Account for maximum stack size
Just using ClassWriter.COMPUTE_FRAMES does not work: it end up with ClassNotFound from somewhere withing ASM
2013-05-13 15:55:48 +04:00
Andrey Breslav 17ddfb6f59 Include class patterns into interceptor's toString 2013-05-13 15:55:48 +04:00
Andrey Breslav 8d22c038d5 Include interceptor data into console output 2013-05-13 15:55:48 +04:00
Andrey Breslav 3440b85867 Remove unneeded interface 2013-05-13 15:55:47 +04:00
Andrey Breslav 113864fc88 Proper debug names for instrumenters 2013-05-13 15:55:47 +04:00
Andrey Breslav c960dff166 Support logging interceptions 2013-05-13 15:55:46 +04:00
Andrey Breslav 6c60383978 Fix entry point instrumentation 2013-05-13 15:55:46 +04:00
Andrey Breslav 35f2993ec9 Empty string means '.*' pattern 2013-05-13 15:55:45 +04:00
Andrey Breslav 90661e8706 Instrumenting interceptors module 2013-05-13 15:55:45 +04:00
Andrey Breslav 2e1a7179f0 Allow instrumentation in preloader 2013-05-13 15:55:44 +04:00
Andrey Breslav df557faa09 Support done() in class handler 2013-05-13 15:53:09 +04:00
Andrey Breslav 63f7b4c51d Replacing all occurences of the package name, not only the first one 2013-05-13 15:52:13 +04:00
Andrey Breslav ba4c012000 Profiler can be paused 2013-05-13 15:52:13 +04:00
Andrey Breslav e351dfca12 Measuring time in ForTestCompileRuntime 2013-05-09 11:21:05 +03:00
Mikhael Bogdanov 6da8ba3fec Default function generation refactoring 2013-05-08 16:13:53 +04:00
Mikhael Bogdanov 702dadccf4 CodegenContext replaced by more specific MethodContext in method generation, mapToCallableMethod call replaced by mapSignature for method header generation 2013-05-08 16:11:17 +04:00
Andrey Breslav 6ebc2cf70b Parsing "notime" fixed 2013-05-07 21:12:44 +03:00
Andrey Breslav a342d4fb61 Usage message fixed 2013-05-07 21:12:43 +03:00
Alexander Kirillin 3ae1dcb263 returned mistakenly deleted bundle messages 2013-05-07 21:15:27 +04:00
Alexander Kirillin 41045d2a1e new quick fixes: add parameter, remove parameter, change function literal signature 2013-05-07 21:15:27 +04:00
Alexander Kirillin 41ec5724df new directive for disabling of error checks in quick fix tests 2013-05-07 21:15:26 +04:00
Alexander Kirillin 1783f8df3a new "collecting" name validator 2013-05-07 21:15:26 +04:00
Alexander Kirillin 5499bea181 fix for change signature when the order of named arguments is non-trivial 2013-05-07 21:15:26 +04:00
Evgeny Gerashchenko c90b398398 Replaced sout with serr in some test to reduce noise. 2013-05-07 18:50:44 +04:00
Evgeny Gerashchenko cb2f24b1cc Not loading SAM constructors for FunctionN classes. 2013-05-07 18:50:44 +04:00
Evgeny Gerashchenko d56494ebd3 KT-3553 Problem with propagation for extension functions
#KT-3553 fixed
2013-05-07 18:50:43 +04:00
Evgeny Gerashchenko dd87c38ea3 Stricter override check. 2013-05-07 15:51:59 +04:00
Mohammad Shamsi 4b656d8c8d KT-3257 Bad diagnostics when trying to instantiate a private class
#KT-3257 Fixed
2013-05-07 13:14:43 +04:00
Evgeny Gerashchenko d645fcaaa7 Reverted import optimization in generated files. 2013-05-06 18:50:03 +04:00
Evgeny Gerashchenko 516a5b76e8 Fixed calling inherited SAM adapter. 2013-05-06 16:45:36 +04:00
Nikolay Krasko fed5cf6524 Update to IDEA 12.1.3 (build 129.400) 2013-05-06 15:05:45 +04:00
Mikhael Bogdanov 22ddd05e09 KT-3576 Getters for float constants in objects always return 0.0 when constants are less than 1.0
#KT-3576 Fixed
2013-05-06 10:41:48 +04:00