mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
635 B
26 lines
635 B
// 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.h"
|
|
#include "src/codegen.h"
|
|
#include "src/scopes.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
|
|
TypingReseter::TypingReseter(Isolate* isolate, Zone* zone,
|
|
FunctionLiteral* root)
|
|
: AstExpressionVisitor(isolate, zone, root) {}
|
|
|
|
|
|
void TypingReseter::VisitExpression(Expression* expression) {
|
|
expression->set_bounds(Bounds::Unbounded());
|
|
}
|
|
}
|
|
} // namespace v8::internal
|
|
|