summaryrefslogtreecommitdiff
path: root/deps/v8/src/typing-reset.cc
blob: c22f7a927637e2a21706b65b4fa4b99544abe745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "src/v8.h"

#include "src/typing-reset.h"

#include "src/ast/ast.h"
#include "src/ast/scopes.h"
#include "src/codegen.h"

namespace v8 {
namespace internal {


TypingReseter::TypingReseter(Isolate* isolate, FunctionLiteral* root)
    : AstExpressionVisitor(isolate, root) {}


void TypingReseter::VisitExpression(Expression* expression) {
  expression->set_bounds(Bounds::Unbounded());
}
}  // namespace internal
}  // namespace v8