Chromium Code Reviews| 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 3215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3226 } | 3226 } |
| 3227 | 3227 |
| 3228 DECLARE_CONCRETE_INSTRUCTION(ArgumentsObject) | 3228 DECLARE_CONCRETE_INSTRUCTION(ArgumentsObject) |
| 3229 | 3229 |
| 3230 protected: | 3230 protected: |
| 3231 virtual void InternalSetOperandAt(int index, HValue* value) { | 3231 virtual void InternalSetOperandAt(int index, HValue* value) { |
| 3232 values_[index] = value; | 3232 values_[index] = value; |
| 3233 } | 3233 } |
| 3234 | 3234 |
| 3235 private: | 3235 private: |
| 3236 virtual bool IsDeletable() const { return true; } | 3236 virtual bool IsDeletable() const { return false; } |
|
Sven Panne
2013/06/16 13:33:55
DBC: Just remove the whole line, 'false' is the (s
| |
| 3237 | 3237 |
| 3238 ZoneList<HValue*> values_; | 3238 ZoneList<HValue*> values_; |
| 3239 }; | 3239 }; |
| 3240 | 3240 |
| 3241 | 3241 |
| 3242 class HConstant: public HTemplateInstruction<0> { | 3242 class HConstant: public HTemplateInstruction<0> { |
| 3243 public: | 3243 public: |
| 3244 HConstant(Handle<Object> handle, Representation r = Representation::None()); | 3244 HConstant(Handle<Object> handle, Representation r = Representation::None()); |
| 3245 HConstant(int32_t value, | 3245 HConstant(int32_t value, |
| 3246 Representation r = Representation::None(), | 3246 Representation r = Representation::None(), |
| (...skipping 3361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6608 virtual bool IsDeletable() const { return true; } | 6608 virtual bool IsDeletable() const { return true; } |
| 6609 }; | 6609 }; |
| 6610 | 6610 |
| 6611 | 6611 |
| 6612 #undef DECLARE_INSTRUCTION | 6612 #undef DECLARE_INSTRUCTION |
| 6613 #undef DECLARE_CONCRETE_INSTRUCTION | 6613 #undef DECLARE_CONCRETE_INSTRUCTION |
| 6614 | 6614 |
| 6615 } } // namespace v8::internal | 6615 } } // namespace v8::internal |
| 6616 | 6616 |
| 6617 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 6617 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |