Commit Graph

105 Commits

Author SHA1 Message Date
Bob Pan
b13f6f284f improve j2ir
--HG--
branch : 2.x
2015-02-19 01:04:14 +08:00
Bob Pan
fd927793a7 correct array type display is ir
--HG--
branch : 2.x
2014-12-07 02:16:13 +08:00
Bob Pan
e742563077 split DIV to Idiv/Ldiv/Fdiv/Ddiv
Fixes issue 230

--HG--
branch : 2.x
2014-10-08 21:31:25 +08:00
Bob Pan
ac831e3f8f start working 2.1
--HG--
branch : 2.x
2014-09-30 10:08:32 +08:00
Bob Pan
35168af753 disable result check due to type strategy change
--HG--
branch : 2.x
2014-08-15 18:40:13 +08:00
Bob Pan
f8df89ef9b type as int if the type is ZI
--HG--
branch : 2.x
2014-08-13 22:18:23 +08:00
Bob Pan
d1f14f8d68 remove NEW if possible
--HG--
branch : 2.x
2014-08-07 01:20:56 +08:00
Bob Pan
fa54e82162 fix compiler warnings
--HG--
branch : 2.x
2014-08-06 19:48:43 +08:00
Bob Pan
6469f08a74 jimple THROW
--HG--
branch : 2.x
2014-08-06 00:56:41 +08:00
Bob Pan
092b7b48ba merge code 2.x
--HG--
branch : 2.x
2014-07-21 22:11:55 +08:00
Bob Pan
6ad1e44d59 fix issue in ExceptionHandlerCurrectTransformer, add ExceptionRef if possible
--HG--
branch : 0.0.9.x
2013-07-05 18:56:59 +08:00
Panxiaobo
d3312344fb clean exec mode from file
--HG--
branch : 0.0.9.x
2013-06-05 19:10:04 +08:00
bob@bob-pc
ae5cd2f422 start work 0.0.9.14
--HG--
branch : 0.0.9.x
2013-02-03 23:11:34 +08:00
Bob Pan
5e261a4515 Fixes issue 154
--HG--
branch : 0.0.9.x
2012-12-31 18:26:46 +08:00
Panxiaobo
dda6b0bb50 Update issue 152
Status: Fixed
use iterator instead of recursion in BaseLiveAnalyze

--HG--
branch : 0.0.9.x
2012-12-13 13:22:10 +08:00
Panxiaobo
4f349ac68c not clean LabelStmt used by LocalVar
--HG--
branch : 0.0.9.x
2012-12-04 01:12:01 +08:00
Panxiaobo
26e0b94e6b start work 0.0.9.13
--HG--
branch : 0.0.9.x
2012-12-04 01:08:55 +08:00
Panxiaobo
bfea5940f2 1. not generate code for a1=a1;
2. replace GOTO stmt if its target is a return stmt
3. clean unused StmtLabel before LocalSplit
4. trim exception handler

--HG--
branch : 0.0.9.x
2012-12-04 00:38:28 +08:00
Panxiaobo
540126b4a2 use array to pass try-catch
--HG--
branch : 0.0.9.x
2012-12-03 22:17:10 +08:00
Panxiaobo
997cb1c1b7 Fix NPE in generat Asm Method
--HG--
branch : 0.0.9.x
2012-11-22 12:50:21 +08:00
Panxiaobo
7505ba9ad6 add junit tes case for ZERO test
--HG--
branch : 0.0.9.x
2012-11-08 11:15:14 +08:00
Panxiaobo
72b5089d54 merge LiveAnalyze to use BaseLiveAnalyze
--HG--
branch : 0.0.9.x
2012-11-07 23:50:04 +08:00
Panxiaobo
12873f296f reimplement ZeroAnalyze
--HG--
branch : 0.0.9.x
2012-11-07 23:49:44 +08:00
Panxiaobo
4a1ea6f793 improve ZeroTransformer to insert x=0 if a ZERO local is merged to a non-ZERO local
--HG--
branch : 0.0.9.x
2012-11-07 21:57:36 +08:00
Panxiaobo
a5acd1d5c8 clean _ls_forward_frame while init CFG
--HG--
branch : 0.0.9.x
2012-11-07 21:55:44 +08:00
Panxiaobo
8ee77c5f91 fix a spell mistack
--HG--
branch : 0.0.9.x
2012-11-07 20:06:08 +08:00
Panxiaobo
5b1543a240 start work 0.0.9.12
--HG--
branch : 0.0.9.x
2012-10-25 15:50:59 +08:00
Panxiaobo
3bc15fdae4 Fix NPE by r483
--HG--
branch : 0.0.9.x
2012-10-23 19:34:16 +08:00
Panxiaobo
b755ba117e Fix a bug in toplogicalsort
--HG--
branch : 0.0.9.x
2012-10-23 18:44:58 +08:00
Panxiaobo
754bf61820 fix Comparator in typeAnalyze
--HG--
branch : 0.0.9.x
2012-10-21 18:10:19 +08:00
Panxiaobo
e62d59f525 clean up code
--HG--
branch : 0.0.9.x
2012-10-21 17:26:43 +08:00
Panxiaobo
ec4c0ddaf4 add support to auto cast value from int to byte,short,char
--HG--
branch : 0.0.9.x
2012-10-21 17:21:15 +08:00
Panxiaobo
c887dda820 start work 0.0.9.11
--HG--
branch : 0.0.9.x
2012-10-21 13:42:07 +08:00
Panxiaobo
208c431a31 add support to do strict type analyze
--HG--
branch : 0.0.9.x
2012-10-20 21:28:43 +08:00
Panxiaobo
f00474ffd9 Fix a bug in ZeroTransformer
--HG--
branch : 0.0.9.x
2012-10-18 22:39:31 +08:00
Panxiaobo
02edfff1d5 Add support to null array initial to NPE
Fix issue 122

--HG--
branch : 0.0.9.x
2012-10-18 22:32:31 +08:00
Panxiaobo
0a2b662d8a 1. Not generate tryCatchBlock in IrMethod2AsmMethod
2. Add the ability to remove Trap if all Stmts are not throw
3. Check for empty TryCatchBlock in TestUtils

Thanks Henddher Pedroza for his test case and support.

--HG--
branch : 0.0.9.x
2012-10-13 21:47:35 +08:00
Panxiaobo
c99a302783 remove _ts_tos from Stmt as it is not needed.
--HG--
branch : 0.0.9.x
2012-09-20 15:44:08 +08:00
Panxiaobo
3449d7e41a re-implement the topologicalSort, use a customized stack to replace the recursive function.
add test case to test a large instruction method

Update issue 99
re-implement the topologicalSort, use a customized stack to replace the recursive function.
hope this can fix the issue

--HG--
branch : 0.0.9.x
2012-09-20 15:36:06 +08:00
yyjdelete
c315aaa0a3 1. Enable type merge for a special case, and add a test case.
2. v[int]: Merge type of v with type of Object.

--HG--
branch : 0.0.9.x
2012-09-11 22:12:39 +08:00
Panxiaobo
41b32da696 fix ArrayIndexOutOfBoundsException when zero-ops in FilledArrayExpr
--HG--
branch : 0.0.9.x
2012-08-15 14:55:33 +08:00
yyjdelete
26c9e0b6cc Fix Issue 124
Temporarily disable type merge when both not null

--HG--
branch : 0.0.9.x
2012-08-02 00:45:52 +08:00
yyjdelete
2941c97801 fix Issue 128
--HG--
branch : 0.0.9.x
2012-07-27 12:08:28 +08:00
Panxiaobo
f8d4ac31a8 make RETURN stmt throw because the contained expr may throw.
Fixes issue 121

--HG--
branch : 0.0.9.x
2012-06-12 21:28:15 +08:00
Panxiaobo
4cda0b365d type array reference as Object in local type.
Fixes issue 120

--HG--
branch : 0.0.9.x
2012-06-11 11:03:44 +08:00
Panxiaobo
bf58ed1e16 add switch -p to print ir to console
--HG--
branch : 0.0.9.x
2012-03-02 15:27:13 +08:00
Panxiaobo
fe7cf210d8 merge LOCALVARIABLE to IrMethod.vars
--HG--
branch : debug-support
2012-02-24 16:18:46 +08:00
Panxiaobo
a894b0d78b update NOTICE.txt to add contributors, Thanks for their great help.
--HG--
branch : debug-support
2012-02-24 13:55:34 +08:00
Panxiaobo
5c36f289c7 1. merge LineNumStmt to LabelStmt,
2. enable V3Test to process debug info

--HG--
branch : debug-support
2012-02-24 13:46:39 +08:00
yyjdelete
5ab114da09 support trans dubug info
--HG--
branch : debug-support
2012-02-18 16:26:31 +08:00