Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
dd4fdf1f
Commit
dd4fdf1f
authored
8 years ago
by
Lukas Stadler
Browse files
Options
Downloads
Patches
Plain Diff
return null instead of throwing RInternalErrors on unknown interop messages
parent
21129f0b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
com.oracle.truffle.r.engine/src/com/oracle/truffle/r/engine/interop/RAbstractVectorAccessFactory.java
+5
-7
5 additions, 7 deletions
...ruffle/r/engine/interop/RAbstractVectorAccessFactory.java
with
5 additions
and
7 deletions
com.oracle.truffle.r.engine/src/com/oracle/truffle/r/engine/interop/RAbstractVectorAccessFactory.java
+
5
−
7
View file @
dd4fdf1f
...
...
@@ -36,7 +36,6 @@ import com.oracle.truffle.r.engine.interop.RAbstractVectorAccessFactoryFactory.V
import
com.oracle.truffle.r.nodes.access.vector.ElementAccessMode
;
import
com.oracle.truffle.r.nodes.access.vector.ExtractVectorNode
;
import
com.oracle.truffle.r.nodes.control.RLengthNode
;
import
com.oracle.truffle.r.runtime.RInternalError
;
import
com.oracle.truffle.r.runtime.data.RLogical
;
import
com.oracle.truffle.r.runtime.data.model.RAbstractVector
;
...
...
@@ -105,7 +104,7 @@ public final class RAbstractVectorAccessFactory implements Factory18 {
@Override
public
CallTarget
accessIsExecutable
()
{
throw
RInternalError
.
shouldNotReachHere
(
"message: accessIsExecutable"
)
;
return
null
;
}
@Override
...
...
@@ -152,26 +151,25 @@ public final class RAbstractVectorAccessFactory implements Factory18 {
@Override
public
CallTarget
accessWrite
()
{
throw
RInternalError
.
shouldNotReachHere
(
"message: accessWrite"
)
;
return
null
;
}
@Override
public
CallTarget
accessExecute
(
int
argumentsLength
)
{
throw
RInternalError
.
shouldNotReachHere
(
"message: accessExecute"
)
;
return
null
;
}
@Override
public
CallTarget
accessInvoke
(
int
argumentsLength
)
{
throw
RInternalError
.
shouldNotReachHere
(
"message: accessInvoke"
)
;
return
null
;
}
@Override
public
CallTarget
accessMessage
(
Message
unknown
)
{
throw
RInternalError
.
shouldNotReachHere
(
"message: "
+
unknown
)
;
return
null
;
}
@Override
@SuppressWarnings
(
"all"
)
public
CallTarget
accessNew
(
int
argumentsLength
)
{
return
null
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment