| 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 2820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2831 SetFlag(kUseGVN); | 2831 SetFlag(kUseGVN); |
| 2832 target_in_new_space_ = Isolate::Current()->heap()->InNewSpace(*function); | 2832 target_in_new_space_ = Isolate::Current()->heap()->InNewSpace(*function); |
| 2833 } | 2833 } |
| 2834 | 2834 |
| 2835 virtual Representation RequiredInputRepresentation(int index) { | 2835 virtual Representation RequiredInputRepresentation(int index) { |
| 2836 return Representation::Tagged(); | 2836 return Representation::Tagged(); |
| 2837 } | 2837 } |
| 2838 virtual void PrintDataTo(StringStream* stream); | 2838 virtual void PrintDataTo(StringStream* stream); |
| 2839 virtual HType CalculateInferredType(); | 2839 virtual HType CalculateInferredType(); |
| 2840 | 2840 |
| 2841 virtual HValue* Canonicalize(); |
| 2842 |
| 2841 #ifdef DEBUG | 2843 #ifdef DEBUG |
| 2842 virtual void Verify(); | 2844 virtual void Verify(); |
| 2843 #endif | 2845 #endif |
| 2844 | 2846 |
| 2845 virtual void FinalizeUniqueValueId() { | 2847 virtual void FinalizeUniqueValueId() { |
| 2846 target_unique_id_ = UniqueValueId(target_); | 2848 target_unique_id_ = UniqueValueId(target_); |
| 2847 } | 2849 } |
| 2848 | 2850 |
| 2849 Handle<JSFunction> target() const { return target_; } | 2851 Handle<JSFunction> target() const { return target_; } |
| 2850 bool target_in_new_space() const { return target_in_new_space_; } | 2852 bool target_in_new_space() const { return target_in_new_space_; } |
| (...skipping 3831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6682 virtual bool IsDeletable() const { return true; } | 6684 virtual bool IsDeletable() const { return true; } |
| 6683 }; | 6685 }; |
| 6684 | 6686 |
| 6685 | 6687 |
| 6686 #undef DECLARE_INSTRUCTION | 6688 #undef DECLARE_INSTRUCTION |
| 6687 #undef DECLARE_CONCRETE_INSTRUCTION | 6689 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6688 | 6690 |
| 6689 } } // namespace v8::internal | 6691 } } // namespace v8::internal |
| 6690 | 6692 |
| 6691 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6693 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |