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
9b9a2469
Commit
9b9a2469
authored
8 years ago
by
Lukas Stadler
Committed by
Mick Jordan
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
small cleanup in RCallNode
parent
bfcd35b1
Branches
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.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java
+5
-4
5 additions, 4 deletions
...es/src/com/oracle/truffle/r/nodes/function/RCallNode.java
with
5 additions
and
4 deletions
com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/function/RCallNode.java
+
5
−
4
View file @
9b9a2469
...
...
@@ -87,6 +87,8 @@ import com.oracle.truffle.r.runtime.SubstituteVirtualFrame;
import
com.oracle.truffle.r.runtime.context.RContext
;
import
com.oracle.truffle.r.runtime.data.FastPathFactory
;
import
com.oracle.truffle.r.runtime.data.RArgsValuesAndNames
;
import
com.oracle.truffle.r.runtime.data.RAttributeProfiles
;
import
com.oracle.truffle.r.runtime.data.RAttributeStorage
;
import
com.oracle.truffle.r.runtime.data.RBuiltinDescriptor
;
import
com.oracle.truffle.r.runtime.data.RDataFactory
;
import
com.oracle.truffle.r.runtime.data.REmpty
;
...
...
@@ -96,6 +98,7 @@ import com.oracle.truffle.r.runtime.data.RPromise;
import
com.oracle.truffle.r.runtime.data.RPromise.Closure
;
import
com.oracle.truffle.r.runtime.data.RStringVector
;
import
com.oracle.truffle.r.runtime.data.RTypedValue
;
import
com.oracle.truffle.r.runtime.env.REnvironment
;
import
com.oracle.truffle.r.runtime.gnur.SEXPTYPE
;
import
com.oracle.truffle.r.runtime.nodes.RBaseNode
;
import
com.oracle.truffle.r.runtime.nodes.RFastPathNode
;
...
...
@@ -746,7 +749,7 @@ public abstract class RCallNode extends RCallBaseNode implements RSyntaxNode, RS
RBuiltinRootNode
builtinRoot
=
(
RBuiltinRootNode
)
root
;
return
new
BuiltinCallNode
(
RBuiltinNode
.
inline
(
builtinRoot
.
getBuiltin
(),
null
),
builtinRoot
.
getBuiltin
(),
formals
,
originalCall
);
}
else
{
return
new
DispatchedCallNode
(
cachedTarget
,
formals
.
getSignature
(),
originalCall
);
return
new
DispatchedCallNode
(
cachedTarget
,
originalCall
);
}
}
...
...
@@ -929,16 +932,14 @@ public abstract class RCallNode extends RCallBaseNode implements RSyntaxNode, RS
@Child
private
DirectCallNode
call
;
@Child
private
RFastPathNode
fastPath
;
private
final
ArgumentsSignature
signature
;
private
final
RootCallTarget
cachedTarget
;
private
final
FastPathFactory
fastPathFactory
;
private
final
RVisibility
fastPathVisibility
;
DispatchedCallNode
(
RootCallTarget
cachedTarget
,
ArgumentsSignature
signature
,
RCallNode
originalCall
)
{
DispatchedCallNode
(
RootCallTarget
cachedTarget
,
RCallNode
originalCall
)
{
super
(
originalCall
);
RRootNode
root
=
(
RRootNode
)
cachedTarget
.
getRootNode
();
this
.
cachedTarget
=
cachedTarget
;
this
.
signature
=
signature
;
this
.
fastPathFactory
=
root
.
getFastPath
();
this
.
fastPath
=
fastPathFactory
==
null
?
null
:
fastPathFactory
.
create
();
this
.
fastPathVisibility
=
fastPathFactory
==
null
?
null
:
fastPathFactory
.
getVisibility
();
...
...
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