Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 6329371faa5f01736b49d7f8686ad7f4ceaa373b..45cb3e54105af2dbb9eb95e566655ab1969fad1e 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -417,16 +417,6 @@ void MaterializedLiteral::BuildConstants(Isolate* isolate) { |
} |
-void TargetCollector::AddTarget(Label* target, Zone* zone) { |
- // Add the label to the collector, but discard duplicates. |
- int length = targets_.length(); |
- for (int i = 0; i < length; i++) { |
- if (targets_[i] == target) return; |
- } |
- targets_.Add(target, zone); |
-} |
- |
- |
void UnaryOperation::RecordToBooleanTypeFeedback(TypeFeedbackOracle* oracle) { |
// TODO(olivf) If this Operation is used in a test context, then the |
// expression has a ToBoolean stub and we want to collect the type |