OLD | NEW |
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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
10 #include "src/ast/ast-expression-visitor.h" | 10 #include "src/ast/ast-expression-visitor.h" |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 CollectTypes(&handles, test_function, &types); | 369 CollectTypes(&handles, test_function, &types); |
370 CHECK_TYPES_BEGIN { | 370 CHECK_TYPES_BEGIN { |
371 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { | 371 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { |
372 // Implicit initial yield | 372 // Implicit initial yield |
373 CHECK_EXPR(Yield, Bounds::Unbounded()) { | 373 CHECK_EXPR(Yield, Bounds::Unbounded()) { |
374 CHECK_VAR(.generator_object, Bounds::Unbounded()); | 374 CHECK_VAR(.generator_object, Bounds::Unbounded()); |
375 CHECK_EXPR(Assignment, Bounds::Unbounded()) { | 375 CHECK_EXPR(Assignment, Bounds::Unbounded()) { |
376 CHECK_VAR(.generator_object, Bounds::Unbounded()); | 376 CHECK_VAR(.generator_object, Bounds::Unbounded()); |
377 CHECK_EXPR(CallRuntime, Bounds::Unbounded()) { | 377 CHECK_EXPR(CallRuntime, Bounds::Unbounded()) { |
378 CHECK_EXPR(ThisFunction, Bounds::Unbounded()); | 378 CHECK_EXPR(ThisFunction, Bounds::Unbounded()); |
379 CHECK_EXPR(VariableProxy, Bounds::Unbounded()); | |
380 } | 379 } |
381 } | 380 } |
382 } | 381 } |
383 // Explicit yield (argument wrapped with CreateIterResultObject) | 382 // Explicit yield (argument wrapped with CreateIterResultObject) |
384 CHECK_EXPR(Yield, Bounds::Unbounded()) { | 383 CHECK_EXPR(Yield, Bounds::Unbounded()) { |
385 CHECK_VAR(.generator_object, Bounds::Unbounded()); | 384 CHECK_VAR(.generator_object, Bounds::Unbounded()); |
386 CHECK_EXPR(CallRuntime, Bounds::Unbounded()) { | 385 CHECK_EXPR(CallRuntime, Bounds::Unbounded()) { |
387 CHECK_EXPR(Literal, Bounds::Unbounded()); | 386 CHECK_EXPR(Literal, Bounds::Unbounded()); |
388 CHECK_EXPR(Literal, Bounds::Unbounded()); | 387 CHECK_EXPR(Literal, Bounds::Unbounded()); |
389 } | 388 } |
(...skipping 26 matching lines...) Expand all Loading... |
416 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { | 415 CHECK_EXPR(FunctionLiteral, Bounds::Unbounded()) { |
417 CHECK_EXPR(BinaryOperation, Bounds::Unbounded()) { | 416 CHECK_EXPR(BinaryOperation, Bounds::Unbounded()) { |
418 // Skip x + x | 417 // Skip x + x |
419 CHECK_SKIP(); | 418 CHECK_SKIP(); |
420 CHECK_EXPR(Literal, Bounds::Unbounded()); | 419 CHECK_EXPR(Literal, Bounds::Unbounded()); |
421 } | 420 } |
422 } | 421 } |
423 } | 422 } |
424 CHECK_TYPES_END | 423 CHECK_TYPES_END |
425 } | 424 } |
OLD | NEW |