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

Side by Side Diff: src/typing-reset.h

Issue 1481613002: Create ast/ and parsing/ subdirectories and move appropriate files (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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 unified diff | Download patch
« no previous file with comments | « src/typing-asm.cc ('k') | src/typing-reset.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_TYPING_RESET_H_ 5 #ifndef V8_TYPING_RESET_H_
6 #define V8_TYPING_RESET_H_ 6 #define V8_TYPING_RESET_H_
7 7
8 #include "src/ast-expression-visitor.h" 8 #include "src/ast/ast-expression-visitor.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // A Visitor over a CompilationInfo's AST that resets 13 // A Visitor over a CompilationInfo's AST that resets
14 // typing bounds back to their default. 14 // typing bounds back to their default.
15 15
16 class TypingReseter : public AstExpressionVisitor { 16 class TypingReseter : public AstExpressionVisitor {
17 public: 17 public:
18 TypingReseter(Isolate* isolate, FunctionLiteral* root); 18 TypingReseter(Isolate* isolate, FunctionLiteral* root);
19 19
20 protected: 20 protected:
21 void VisitExpression(Expression* expression) override; 21 void VisitExpression(Expression* expression) override;
22 }; 22 };
23 } // namespace internal 23 } // namespace internal
24 } // namespace v8 24 } // namespace v8
25 25
26 #endif // V8_TYPING_RESET_H_ 26 #endif // V8_TYPING_RESET_H_
OLDNEW
« no previous file with comments | « src/typing-asm.cc ('k') | src/typing-reset.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698