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

Side by Side Diff: src/ast-expression-visitor.cc

Issue 1447133002: Use asm style type names and improve asm typer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revised Created 5 years, 1 month 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 | « no previous file | src/type-cache.h » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/ast-expression-visitor.h" 7 #include "src/ast-expression-visitor.h"
8 8
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 NativeFunctionLiteral* expr) {} 202 NativeFunctionLiteral* expr) {}
203 203
204 204
205 void AstExpressionVisitor::VisitDoExpression(DoExpression* expr) { 205 void AstExpressionVisitor::VisitDoExpression(DoExpression* expr) {
206 RECURSE(VisitBlock(expr->block())); 206 RECURSE(VisitBlock(expr->block()));
207 RECURSE(VisitVariableProxy(expr->result())); 207 RECURSE(VisitVariableProxy(expr->result()));
208 } 208 }
209 209
210 210
211 void AstExpressionVisitor::VisitConditional(Conditional* expr) { 211 void AstExpressionVisitor::VisitConditional(Conditional* expr) {
212 RECURSE(Visit(expr->condition())); 212 VisitExpression(expr);
213 RECURSE(Visit(expr->then_expression())); 213 RECURSE_EXPRESSION(Visit(expr->condition()));
214 RECURSE(Visit(expr->else_expression())); 214 RECURSE_EXPRESSION(Visit(expr->then_expression()));
215 RECURSE_EXPRESSION(Visit(expr->else_expression()));
215 } 216 }
216 217
217 218
218 void AstExpressionVisitor::VisitVariableProxy(VariableProxy* expr) { 219 void AstExpressionVisitor::VisitVariableProxy(VariableProxy* expr) {
219 VisitExpression(expr); 220 VisitExpression(expr);
220 } 221 }
221 222
222 223
223 void AstExpressionVisitor::VisitLiteral(Literal* expr) { 224 void AstExpressionVisitor::VisitLiteral(Literal* expr) {
224 VisitExpression(expr); 225 VisitExpression(expr);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) { 389 void AstExpressionVisitor::VisitSuperCallReference(SuperCallReference* expr) {
389 VisitExpression(expr); 390 VisitExpression(expr);
390 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); 391 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var()));
391 RECURSE_EXPRESSION(VisitVariableProxy(expr->new_target_var())); 392 RECURSE_EXPRESSION(VisitVariableProxy(expr->new_target_var()));
392 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_function_var())); 393 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_function_var()));
393 } 394 }
394 395
395 396
396 } // namespace internal 397 } // namespace internal
397 } // namespace v8 398 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/type-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698