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
a539ba2a
Commit
a539ba2a
authored
9 years ago
by
Lukas Stadler
Browse files
Options
Downloads
Patches
Plain Diff
remove @NodeChildren in MapplyInternalNode
parent
e368750d
Branches
Branches containing commit
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Mapply.java
+2
-9
2 additions, 9 deletions
...n/src/com/oracle/truffle/r/nodes/builtin/base/Mapply.java
with
2 additions
and
9 deletions
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Mapply.java
+
2
−
9
View file @
a539ba2a
...
...
@@ -65,7 +65,7 @@ public abstract class Mapply extends RBuiltinNode {
}
}
@Child
private
MapplyInternalNode
mapply
=
MapplyInternalNodeGen
.
create
(
null
,
null
,
null
);
@Child
private
MapplyInternalNode
mapply
=
MapplyInternalNodeGen
.
create
();
@Specialization
protected
Object
mApply
(
VirtualFrame
frame
,
RFunction
fun
,
RList
dots
,
RList
moreArgs
)
{
...
...
@@ -84,8 +84,7 @@ public abstract class Mapply extends RBuiltinNode {
return
mApply
(
frame
,
fun
,
dots
,
RDataFactory
.
createList
());
}
@NodeChildren
({
@NodeChild
(
type
=
RNode
.
class
),
@NodeChild
(
type
=
RNode
.
class
),
@NodeChild
(
type
=
RNode
.
class
)})
protected
abstract
static
class
MapplyInternalNode
extends
RNode
{
protected
abstract
static
class
MapplyInternalNode
extends
Node
{
private
static
final
String
VECTOR_ELEMENT_PREFIX
=
"MAPPLY_VEC_ELEM_"
;
private
static
final
RLogicalVector
DROP
=
RDataFactory
.
createLogicalVectorFromScalar
(
true
);
...
...
@@ -150,12 +149,6 @@ public abstract class Mapply extends RBuiltinNode {
return
result
;
}
@SuppressWarnings
(
"unused"
)
@Specialization
(
contains
=
"cachedMApply"
)
protected
Object
[]
genericMApply
(
Object
vector
,
RFunction
function
,
RArgsValuesAndNames
additionalArguments
)
{
throw
RError
.
nyi
(
this
,
"generic mApply"
);
}
/**
* Creates the {@link RCallNode} for this target.
*
...
...
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