summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-graph.h')
-rw-r--r--deps/v8/src/compiler/js-graph.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/js-graph.h b/deps/v8/src/compiler/js-graph.h
index 13dc367d4d..c7f07d46db 100644
--- a/deps/v8/src/compiler/js-graph.h
+++ b/deps/v8/src/compiler/js-graph.h
@@ -102,6 +102,7 @@ class JSGraph : public ZoneObject {
// Creates an ExternalConstant node, usually canonicalized.
Node* ExternalConstant(ExternalReference ref);
+ Node* ExternalConstant(Runtime::FunctionId function_id);
Node* SmiConstant(int32_t immediate) {
DCHECK(Smi::IsValid(immediate));
@@ -116,8 +117,8 @@ class JSGraph : public ZoneObject {
// cannot deopt.
Node* EmptyFrameState();
- // Create a control node that serves as control dependency for dead nodes.
- Node* DeadControl();
+ // Create a control node that serves as dependency for dead nodes.
+ Node* Dead();
JSOperatorBuilder* javascript() const { return javascript_; }
CommonOperatorBuilder* common() const { return common_; }
@@ -141,7 +142,7 @@ class JSGraph : public ZoneObject {
kOneConstant,
kNaNConstant,
kEmptyFrameState,
- kDeadControl,
+ kDead,
kNumCachedNodes // Must remain last.
};