Index: src/compiler/code-stub-assembler.cc |
diff --git a/src/compiler/code-stub-assembler.cc b/src/compiler/code-stub-assembler.cc |
index ae1f2cd5a7f1e0db14204ff62b032a6ea9ec6285..0168c955428ee1953406bf48d87e1fead6eaecc6 100644 |
--- a/src/compiler/code-stub-assembler.cc |
+++ b/src/compiler/code-stub-assembler.cc |
@@ -32,7 +32,6 @@ CodeStubAssembler::CodeStubAssembler(Isolate* isolate, Zone* zone, |
isolate, new (zone) Graph(zone), |
Linkage::GetStubCallDescriptor(isolate, zone, descriptor, 0, |
CallDescriptor::kNoFlags))), |
- end_nodes_(zone), |
kind_(kind), |
name_(name), |
code_generated_(false) {} |
@@ -44,8 +43,6 @@ CodeStubAssembler::~CodeStubAssembler() {} |
Handle<Code> CodeStubAssembler::GenerateCode() { |
DCHECK(!code_generated_); |
- End(); |
- |
Schedule* schedule = raw_assembler_->Export(); |
Handle<Code> code = Pipeline::GenerateCodeForCodeStub( |
isolate(), raw_assembler_->call_descriptor(), graph(), schedule, kind_, |
@@ -164,23 +161,6 @@ Node* CodeStubAssembler::TailCallRuntime(Runtime::FunctionId function_id, |
} |
-void CodeStubAssembler::AddEndInput(Node* input) { |
- DCHECK_NOT_NULL(input); |
- end_nodes_.push_back(input); |
-} |
- |
- |
-void CodeStubAssembler::End() { |
- if (end_nodes_.size() == 0) { |
- end_nodes_.push_back(graph()->start()); |
- } |
- int end_count = static_cast<int>(end_nodes_.size()); |
- Node* end = graph()->NewNode(raw_assembler_->common()->End(end_count), |
- end_count, &end_nodes_[0]); |
- graph()->SetEnd(end); |
-} |
- |
- |
// RawMachineAssembler delegate helpers: |
Isolate* CodeStubAssembler::isolate() { return raw_assembler_->isolate(); } |