OLD | NEW |
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 HBasicBlock* loop_header_; | 243 HBasicBlock* loop_header_; |
244 ZoneList<HBasicBlock*> blocks_; | 244 ZoneList<HBasicBlock*> blocks_; |
245 HStackCheck* stack_check_; | 245 HStackCheck* stack_check_; |
246 }; | 246 }; |
247 | 247 |
248 class BoundsCheckTable; | 248 class BoundsCheckTable; |
249 class HGraph: public ZoneObject { | 249 class HGraph: public ZoneObject { |
250 public: | 250 public: |
251 explicit HGraph(CompilationInfo* info); | 251 explicit HGraph(CompilationInfo* info); |
252 | 252 |
253 Isolate* isolate() { return isolate_; } | 253 Isolate* isolate() const { return isolate_; } |
254 Zone* zone() const { return zone_; } | 254 Zone* zone() const { return zone_; } |
255 CompilationInfo* info() const { return info_; } | 255 CompilationInfo* info() const { return info_; } |
256 | 256 |
257 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 257 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
258 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } | 258 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } |
259 HBasicBlock* entry_block() const { return entry_block_; } | 259 HBasicBlock* entry_block() const { return entry_block_; } |
260 HEnvironment* start_environment() const { return start_environment_; } | 260 HEnvironment* start_environment() const { return start_environment_; } |
261 | 261 |
262 void InitializeInferredTypes(); | 262 void InitializeInferredTypes(); |
263 void InsertTypeConversions(); | 263 void InsertTypeConversions(); |
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 const char* filename_; | 1665 const char* filename_; |
1666 HeapStringAllocator string_allocator_; | 1666 HeapStringAllocator string_allocator_; |
1667 StringStream trace_; | 1667 StringStream trace_; |
1668 int indent_; | 1668 int indent_; |
1669 }; | 1669 }; |
1670 | 1670 |
1671 | 1671 |
1672 } } // namespace v8::internal | 1672 } } // namespace v8::internal |
1673 | 1673 |
1674 #endif // V8_HYDROGEN_H_ | 1674 #endif // V8_HYDROGEN_H_ |
OLD | NEW |