199bbdb40f
Moves all files related to AST and scopes into ast/, and all files related to scanner & parser to parsing/. Also eliminates a couple of spurious dependencies. R=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/1481613002 Cr-Commit-Position: refs/heads/master@{#32351}
26 lines
609 B
C++
26 lines
609 B
C++
// 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
|