add preproc tag

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4287 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-06-13 06:31:18 +00:00
parent beb17f1c5c
commit ec67762360
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ public class PeepholeOptimizer {
new InsnPattern("add", imm(0), reg()),
null
));
// #@@range/pattern{
set.add(new SingleInsnFilter(
new InsnPattern("add", imm(1), reg()),
new InsnTransform() {
@ -96,6 +97,7 @@ public class PeepholeOptimizer {
}
}
));
// #@@}
// sub
set.add(new SingleInsnFilter(