| 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 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 } | 1240 } |
| 1241 | 1241 |
| 1242 bool CanTruncateToInt32() const { return CheckFlag(kTruncatingToInt32); } | 1242 bool CanTruncateToInt32() const { return CheckFlag(kTruncatingToInt32); } |
| 1243 | 1243 |
| 1244 virtual LInstruction* CompileToLithium(LChunkBuilder* builder) = 0; | 1244 virtual LInstruction* CompileToLithium(LChunkBuilder* builder) = 0; |
| 1245 | 1245 |
| 1246 #ifdef DEBUG | 1246 #ifdef DEBUG |
| 1247 virtual void Verify() V8_OVERRIDE; | 1247 virtual void Verify() V8_OVERRIDE; |
| 1248 #endif | 1248 #endif |
| 1249 | 1249 |
| 1250 bool CanDeoptimize(); |
| 1251 |
| 1250 virtual bool HasStackCheck() { return false; } | 1252 virtual bool HasStackCheck() { return false; } |
| 1251 | 1253 |
| 1252 DECLARE_ABSTRACT_INSTRUCTION(Instruction) | 1254 DECLARE_ABSTRACT_INSTRUCTION(Instruction) |
| 1253 | 1255 |
| 1254 protected: | 1256 protected: |
| 1255 HInstruction(HType type = HType::Tagged()) | 1257 HInstruction(HType type = HType::Tagged()) |
| 1256 : HValue(type), | 1258 : HValue(type), |
| 1257 next_(NULL), | 1259 next_(NULL), |
| 1258 previous_(NULL), | 1260 previous_(NULL), |
| 1259 position_(RelocInfo::kNoPosition) { | 1261 position_(RelocInfo::kNoPosition) { |
| (...skipping 6120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7380 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7382 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7381 }; | 7383 }; |
| 7382 | 7384 |
| 7383 | 7385 |
| 7384 #undef DECLARE_INSTRUCTION | 7386 #undef DECLARE_INSTRUCTION |
| 7385 #undef DECLARE_CONCRETE_INSTRUCTION | 7387 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7386 | 7388 |
| 7387 } } // namespace v8::internal | 7389 } } // namespace v8::internal |
| 7388 | 7390 |
| 7389 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7391 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |