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

Side by Side Diff: runtime/vm/parser.h

Issue 382993003: More PcDescriptor cleanups. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/parser.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 // is defined. This can be the library in which the current_class_ is 720 // is defined. This can be the library in which the current_class_ is
721 // defined, or the library of a mixin class where the function originates. 721 // defined, or the library of a mixin class where the function originates.
722 Library& library_; 722 Library& library_;
723 723
724 // List of try blocks seen so far, this is used to generate inlined finally 724 // List of try blocks seen so far, this is used to generate inlined finally
725 // code at all points in the try block where an exit from the block is 725 // code at all points in the try block where an exit from the block is
726 // done using 'return', 'break' or 'continue' statements. 726 // done using 'return', 'break' or 'continue' statements.
727 TryBlocks* try_blocks_list_; 727 TryBlocks* try_blocks_list_;
728 728
729 // Each try in this function gets its own try index. 729 // Each try in this function gets its own try index.
730 intptr_t AllocateTryIndex() { return last_used_try_index_++; } 730 int16_t AllocateTryIndex();
731 intptr_t last_used_try_index_; 731
732 int16_t last_used_try_index_;
732 733
733 bool unregister_pending_function_; 734 bool unregister_pending_function_;
734 735
735 DISALLOW_COPY_AND_ASSIGN(Parser); 736 DISALLOW_COPY_AND_ASSIGN(Parser);
736 }; 737 };
737 738
738 } // namespace dart 739 } // namespace dart
739 740
740 #endif // VM_PARSER_H_ 741 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698