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

Side by Side Diff: src/hydrogen.h

Issue 9722043: Refactor code generation for global declarations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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 | « src/full-codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 // visiting statements. 1106 // visiting statements.
1107 AstContext* ast_context_; 1107 AstContext* ast_context_;
1108 1108
1109 // A stack of breakable statements entered. 1109 // A stack of breakable statements entered.
1110 BreakAndContinueScope* break_scope_; 1110 BreakAndContinueScope* break_scope_;
1111 1111
1112 HGraph* graph_; 1112 HGraph* graph_;
1113 HBasicBlock* current_block_; 1113 HBasicBlock* current_block_;
1114 1114
1115 int inlined_count_; 1115 int inlined_count_;
1116 int global_count_; 1116 ZoneList<Handle<Object> > globals_;
1117 1117
1118 Zone* zone_; 1118 Zone* zone_;
1119 1119
1120 bool inline_bailout_; 1120 bool inline_bailout_;
1121 1121
1122 friend class FunctionState; // Pushes and pops the state stack. 1122 friend class FunctionState; // Pushes and pops the state stack.
1123 friend class AstContext; // Pushes and pops the AST context stack. 1123 friend class AstContext; // Pushes and pops the AST context stack.
1124 1124
1125 DISALLOW_COPY_AND_ASSIGN(HGraphBuilder); 1125 DISALLOW_COPY_AND_ASSIGN(HGraphBuilder);
1126 }; 1126 };
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 const char* filename_; 1339 const char* filename_;
1340 HeapStringAllocator string_allocator_; 1340 HeapStringAllocator string_allocator_;
1341 StringStream trace_; 1341 StringStream trace_;
1342 int indent_; 1342 int indent_;
1343 }; 1343 };
1344 1344
1345 1345
1346 } } // namespace v8::internal 1346 } } // namespace v8::internal
1347 1347
1348 #endif // V8_HYDROGEN_H_ 1348 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698