// Copyright 2011 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/ast/variables.h" #include "src/ast/scopes.h" #include "src/common/globals.h" namespace v8 { namespace internal { // ---------------------------------------------------------------------------- // Implementation Variable. Variable::Variable(Variable* other) : … { … } bool Variable::IsGlobalObjectProperty() const { … } // TODO(rezvan): Add check and related tests for VariableMode::kUsing. bool Variable::IsReplGlobal() const { … } void Variable::RewriteLocationForRepl() { … } void Variable::AssignHoleCheckBitmapIndex(ZoneVector<Variable*>& list, uint8_t next_index) { … } } // namespace internal } // namespace v8