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

Side by Side Diff: src/hydrogen.h

Issue 8495011: Revert r9901 to make tree green again. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 // return blocks. NULL in all other cases. 650 // return blocks. NULL in all other cases.
651 TestContext* test_context_; 651 TestContext* test_context_;
652 652
653 FunctionState* outer_; 653 FunctionState* outer_;
654 }; 654 };
655 655
656 656
657 class HGraphBuilder: public AstVisitor { 657 class HGraphBuilder: public AstVisitor {
658 public: 658 public:
659 enum BreakType { BREAK, CONTINUE }; 659 enum BreakType { BREAK, CONTINUE };
660 enum SwitchType { UNKNOWN_SWITCH, SMI_SWITCH, STRING_SWITCH };
661 660
662 // A class encapsulating (lazily-allocated) break and continue blocks for 661 // A class encapsulating (lazily-allocated) break and continue blocks for
663 // a breakable statement. Separated from BreakAndContinueScope so that it 662 // a breakable statement. Separated from BreakAndContinueScope so that it
664 // can have a separate lifetime. 663 // can have a separate lifetime.
665 class BreakAndContinueInfo BASE_EMBEDDED { 664 class BreakAndContinueInfo BASE_EMBEDDED {
666 public: 665 public:
667 explicit BreakAndContinueInfo(BreakableStatement* target) 666 explicit BreakAndContinueInfo(BreakableStatement* target)
668 : target_(target), break_block_(NULL), continue_block_(NULL) { 667 : target_(target), break_block_(NULL), continue_block_(NULL) {
669 } 668 }
670 669
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1250 const char* filename_; 1249 const char* filename_;
1251 HeapStringAllocator string_allocator_; 1250 HeapStringAllocator string_allocator_;
1252 StringStream trace_; 1251 StringStream trace_;
1253 int indent_; 1252 int indent_;
1254 }; 1253 };
1255 1254
1256 1255
1257 } } // namespace v8::internal 1256 } } // namespace v8::internal
1258 1257
1259 #endif // V8_HYDROGEN_H_ 1258 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698