| 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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1541 virtual int RedefinedOperandIndex() { return 0; } | 1541 virtual int RedefinedOperandIndex() { return 0; } |
| 1542 | 1542 |
| 1543 private: | 1543 private: |
| 1544 HCompareMap(HValue* value, | 1544 HCompareMap(HValue* value, |
| 1545 Handle<Map> map, | 1545 Handle<Map> map, |
| 1546 HBasicBlock* true_target = NULL, | 1546 HBasicBlock* true_target = NULL, |
| 1547 HBasicBlock* false_target = NULL) | 1547 HBasicBlock* false_target = NULL) |
| 1548 : HUnaryControlInstruction(value, true_target, false_target), | 1548 : HUnaryControlInstruction(value, true_target, false_target), |
| 1549 map_(Unique<Map>(map)) { | 1549 map_(Unique<Map>(map)) { |
| 1550 ASSERT(!map.is_null()); | 1550 ASSERT(!map.is_null()); |
| 1551 set_representation(Representation::Tagged()); |
| 1551 } | 1552 } |
| 1552 | 1553 |
| 1553 Unique<Map> map_; | 1554 Unique<Map> map_; |
| 1554 }; | 1555 }; |
| 1555 | 1556 |
| 1556 | 1557 |
| 1557 class HContext V8_FINAL : public HTemplateInstruction<0> { | 1558 class HContext V8_FINAL : public HTemplateInstruction<0> { |
| 1558 public: | 1559 public: |
| 1559 static HContext* New(Zone* zone) { | 1560 static HContext* New(Zone* zone) { |
| 1560 return new(zone) HContext(); | 1561 return new(zone) HContext(); |
| (...skipping 5927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7488 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7489 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7489 }; | 7490 }; |
| 7490 | 7491 |
| 7491 | 7492 |
| 7492 #undef DECLARE_INSTRUCTION | 7493 #undef DECLARE_INSTRUCTION |
| 7493 #undef DECLARE_CONCRETE_INSTRUCTION | 7494 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7494 | 7495 |
| 7495 } } // namespace v8::internal | 7496 } } // namespace v8::internal |
| 7496 | 7497 |
| 7497 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7498 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |