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

Side by Side Diff: src/full-codegen.cc

Issue 3146037: Cleanup the AST code by removing unused parts and get rid of the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 424 }
425 425
426 426
427 void FullCodeGenSyntaxChecker::VisitCompareOperation(CompareOperation* expr) { 427 void FullCodeGenSyntaxChecker::VisitCompareOperation(CompareOperation* expr) {
428 Visit(expr->left()); 428 Visit(expr->left());
429 CHECK_BAILOUT; 429 CHECK_BAILOUT;
430 Visit(expr->right()); 430 Visit(expr->right());
431 } 431 }
432 432
433 433
434 void FullCodeGenSyntaxChecker::VisitCompareToNull(CompareToNull* expr) {
435 Visit(expr->expression());
436 }
437
438
434 void FullCodeGenSyntaxChecker::VisitThisFunction(ThisFunction* expr) { 439 void FullCodeGenSyntaxChecker::VisitThisFunction(ThisFunction* expr) {
435 // Supported. 440 // Supported.
436 } 441 }
437 442
438 #undef BAILOUT 443 #undef BAILOUT
439 #undef CHECK_BAILOUT 444 #undef CHECK_BAILOUT
440 445
441 446
442 void BreakableStatementChecker::Check(Statement* stmt) { 447 void BreakableStatementChecker::Check(Statement* stmt) {
443 Visit(stmt); 448 Visit(stmt);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 Visit(expr->expression()); 652 Visit(expr->expression());
648 } 653 }
649 654
650 655
651 void BreakableStatementChecker::VisitBinaryOperation(BinaryOperation* expr) { 656 void BreakableStatementChecker::VisitBinaryOperation(BinaryOperation* expr) {
652 Visit(expr->left()); 657 Visit(expr->left());
653 Visit(expr->right()); 658 Visit(expr->right());
654 } 659 }
655 660
656 661
662 void BreakableStatementChecker::VisitCompareToNull(CompareToNull* expr) {
663 Visit(expr->expression());
664 }
665
666
657 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { 667 void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) {
658 Visit(expr->left()); 668 Visit(expr->left());
659 Visit(expr->right()); 669 Visit(expr->right());
660 } 670 }
661 671
662 672
663 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { 673 void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) {
664 } 674 }
665 675
666 676
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 ASSERT(args->length() == 1); 1442 ASSERT(args->length() == 1);
1433 VisitForValue(args->at(0), kStack); 1443 VisitForValue(args->at(0), kStack);
1434 __ CallRuntime(Runtime::kRegExpCloneResult, 1); 1444 __ CallRuntime(Runtime::kRegExpCloneResult, 1);
1435 Apply(context_, result_register()); 1445 Apply(context_, result_register());
1436 } 1446 }
1437 1447
1438 #undef __ 1448 #undef __
1439 1449
1440 1450
1441 } } // namespace v8::internal 1451 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flow-graph.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | src/x64/full-codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698