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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 HConstant* GetConstant1(); | 286 HConstant* GetConstant1(); |
287 HConstant* GetConstantMinus1(); | 287 HConstant* GetConstantMinus1(); |
288 HConstant* GetConstantTrue(); | 288 HConstant* GetConstantTrue(); |
289 HConstant* GetConstantFalse(); | 289 HConstant* GetConstantFalse(); |
290 HConstant* GetConstantHole(); | 290 HConstant* GetConstantHole(); |
291 | 291 |
292 HBasicBlock* CreateBasicBlock(); | 292 HBasicBlock* CreateBasicBlock(); |
293 HArgumentsObject* GetArgumentsObject() const { | 293 HArgumentsObject* GetArgumentsObject() const { |
294 return arguments_object_.get(); | 294 return arguments_object_.get(); |
295 } | 295 } |
296 bool HasArgumentsObject() const { return arguments_object_.is_set(); } | |
297 | 296 |
298 void SetArgumentsObject(HArgumentsObject* object) { | 297 void SetArgumentsObject(HArgumentsObject* object) { |
299 arguments_object_.set(object); | 298 arguments_object_.set(object); |
300 } | 299 } |
301 | 300 |
302 int GetMaximumValueID() const { return values_.length(); } | 301 int GetMaximumValueID() const { return values_.length(); } |
303 int GetNextBlockID() { return next_block_id_++; } | 302 int GetNextBlockID() { return next_block_id_++; } |
304 int GetNextValueID(HValue* value) { | 303 int GetNextValueID(HValue* value) { |
305 values_.Add(value); | 304 values_.Add(value); |
306 return values_.length() - 1; | 305 return values_.length() - 1; |
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 const char* filename_; | 1340 const char* filename_; |
1342 HeapStringAllocator string_allocator_; | 1341 HeapStringAllocator string_allocator_; |
1343 StringStream trace_; | 1342 StringStream trace_; |
1344 int indent_; | 1343 int indent_; |
1345 }; | 1344 }; |
1346 | 1345 |
1347 | 1346 |
1348 } } // namespace v8::internal | 1347 } } // namespace v8::internal |
1349 | 1348 |
1350 #endif // V8_HYDROGEN_H_ | 1349 #endif // V8_HYDROGEN_H_ |
OLD | NEW |