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

Side by Side Diff: test/cctest/test-ast-expression-visitor.cc

Issue 1968263002: Remove unused 'receiver' field from generators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: weaken dcheck Created 4 years, 7 months 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
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 <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
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
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 }
OLDNEW
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | test/mjsunit/es6/generators-mirror.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698