OLD | NEW |
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 private: | 289 private: |
290 ZoneList<BreakContinueInfo*> break_continue_info_; | 290 ZoneList<BreakContinueInfo*> break_continue_info_; |
291 }; | 291 }; |
292 | 292 |
293 | 293 |
294 class HGraph: public HSubgraph { | 294 class HGraph: public HSubgraph { |
295 public: | 295 public: |
296 explicit HGraph(CompilationInfo* info); | 296 explicit HGraph(CompilationInfo* info); |
297 | 297 |
298 CompilationInfo* info() const { return info_; } | 298 CompilationInfo* info() const { return info_; } |
| 299 |
| 300 bool AllowAggressiveOptimizations() const; |
| 301 |
299 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
300 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } | 303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } |
301 Handle<String> debug_name() const { return info_->function()->debug_name(); } | 304 Handle<String> debug_name() const { return info_->function()->debug_name(); } |
302 HEnvironment* start_environment() const { return start_environment_; } | 305 HEnvironment* start_environment() const { return start_environment_; } |
303 | 306 |
304 void InitializeInferredTypes(); | 307 void InitializeInferredTypes(); |
305 void InsertTypeConversions(); | 308 void InsertTypeConversions(); |
306 void InsertRepresentationChanges(); | 309 void InsertRepresentationChanges(); |
307 bool ProcessArgumentsObject(); | 310 bool ProcessArgumentsObject(); |
308 void EliminateRedundantPhis(); | 311 void EliminateRedundantPhis(); |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 const char* filename_; | 1060 const char* filename_; |
1058 HeapStringAllocator string_allocator_; | 1061 HeapStringAllocator string_allocator_; |
1059 StringStream trace_; | 1062 StringStream trace_; |
1060 int indent_; | 1063 int indent_; |
1061 }; | 1064 }; |
1062 | 1065 |
1063 | 1066 |
1064 } } // namespace v8::internal | 1067 } } // namespace v8::internal |
1065 | 1068 |
1066 #endif // V8_HYDROGEN_H_ | 1069 #endif // V8_HYDROGEN_H_ |
OLD | NEW |