Skip to content

Commit

Permalink
svm: remove SubstrateArraysCopyOfSnippets
Browse files Browse the repository at this point in the history
The SubstrateVM specific intrinsic for Arrays.copyOf is no longer needed
as we can now deal with the graphs the compiler produces. There is no more
good reason to keep maintaining this code.
  • Loading branch information
zapster committed Jul 7, 2021
1 parent f388bf0 commit 8cd9765
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 489 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ final class JDKIntrinsicsFeature implements GraalFeature {
public void registerForeignCalls(RuntimeConfiguration runtimeConfig, Providers providers, SnippetReflectionProvider snippetReflection, SubstrateForeignCallsProvider foreignCalls, boolean hosted) {
ArraycopySnippets.registerForeignCalls(providers, foreignCalls);
SubstrateObjectCloneSnippets.registerForeignCalls(providers, foreignCalls);
SubstrateArraysCopyOfSnippets.registerForeignCalls(providers, foreignCalls);
}

@Override
Expand All @@ -64,7 +63,6 @@ public void registerLowerings(RuntimeConfiguration runtimeConfig, OptionValues o
Map<Class<? extends Node>, NodeLoweringProvider<?>> lowerings, boolean hosted) {
new ArraycopySnippets(options, factories, providers, snippetReflection, lowerings);
SubstrateObjectCloneSnippets.registerLowerings(options, factories, providers, snippetReflection, lowerings);
SubstrateArraysCopyOfSnippets.registerLowerings(options, factories, providers, snippetReflection, lowerings);
}

@Override
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8cd9765

Please sign in to comment.