Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1844)

Unified Diff: test/cctest/expression-type-collector.h

Issue 1968383002: Remove Expression::bounds_, in order to conserve memory during parsing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove Expression::bounds_ Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/expression-type-collector.h
diff --git a/test/cctest/expression-type-collector.h b/test/cctest/expression-type-collector.h
index 37bb9a3c02aa8aa42b398ca95536828c51f81d4b..a52cfdacc8fcbcdedfc5c94af4466e6f71e1632e 100644
--- a/test/cctest/expression-type-collector.h
+++ b/test/cctest/expression-type-collector.h
@@ -10,6 +10,8 @@
namespace v8 {
namespace internal {
+class AstTypeBounds;
+
// A Visitor over an AST that collects a human readable string summarizing
// structure and types. Used for testing of the typing information attached
// to the expression nodes of an AST.
@@ -24,6 +26,7 @@ struct ExpressionTypeEntry {
class ExpressionTypeCollector : public AstExpressionVisitor {
public:
ExpressionTypeCollector(Isolate* isolate, FunctionLiteral* root,
+ const AstTypeBounds* bounds,
ZoneVector<ExpressionTypeEntry>* dst);
void Run();
@@ -31,6 +34,7 @@ class ExpressionTypeCollector : public AstExpressionVisitor {
void VisitExpression(Expression* expression);
private:
+ const AstTypeBounds* bounds_;
ZoneVector<ExpressionTypeEntry>* result_;
};
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698