Skip to content

Commit

Permalink
Use Core to get types and improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhelloworld committed Aug 12, 2024
1 parent 4da5129 commit a6bcc86
Show file tree
Hide file tree
Showing 14 changed files with 3,424 additions and 3,124 deletions.
3 changes: 3 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rules:
line-length: disable
document-start: disable
2 changes: 1 addition & 1 deletion .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
env:
IDRIS2_TESTS_CG: jvm
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
PREVIOUS_VERSION: 0.6.0.11
PREVIOUS_VERSION: 0.7.0

jobs:
ubuntu-build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
IDRIS2_TESTS_CG: jvm
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
PREVIOUS_VERSION: 0.6.0.11
PREVIOUS_VERSION: 0.7.0

jobs:
pre-release:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
mvn dependency:copy "-Dartifact=io.github.mmhelloworld:idris-jvm-compiler:$PREVIOUS_VERSION:zip" -DoutputDirectory=. -U
unzip idris-jvm-compiler-*.zip -d "$HOME/bin"
echo "::add-path::$HOME/bin/idris2-$PREVIOUS_VERSION/exec"
echo "$HOME/bin/idris2-$PREVIOUS_VERSION/exec" >> "$GITHUB_PATH"
- name: Publish to Maven Central
run: mvn -B -Prelease deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
env:
IDRIS2_TESTS_CG: jvm
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
PREVIOUS_VERSION: 0.6.0.11
PREVIOUS_VERSION: 0.7.0

jobs:
release:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
mvn dependency:copy "-Dartifact=io.github.mmhelloworld:idris-jvm-compiler:$PREVIOUS_VERSION:zip" -DoutputDirectory=. -U
unzip idris-jvm-compiler-*.zip -d "$HOME/bin"
echo "::add-path::$HOME/bin/idris2-$PREVIOUS_VERSION/exec"
echo "$HOME/bin/idris2-$PREVIOUS_VERSION/exec" >> "$GITHUB_PATH"
- name: Configure Git user
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ public void castore() {
}

public void checkcast(String desc) {
mv.visitTypeInsn(CHECKCAST, desc);
if (!desc.equals("java/lang/Object")) {
mv.visitTypeInsn(CHECKCAST, desc);
}
}

public void classCodeStart(int version,
Expand Down
Loading

0 comments on commit a6bcc86

Please sign in to comment.