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 3360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3371 } | 3371 } |
3372 | 3372 |
3373 DECLARE_CONCRETE_INSTRUCTION(ArgumentsObject) | 3373 DECLARE_CONCRETE_INSTRUCTION(ArgumentsObject) |
3374 | 3374 |
3375 private: | 3375 private: |
3376 HArgumentsObject(int count, Zone* zone) | 3376 HArgumentsObject(int count, Zone* zone) |
3377 : HDematerializedObject(count, zone) { | 3377 : HDematerializedObject(count, zone) { |
3378 set_representation(Representation::Tagged()); | 3378 set_representation(Representation::Tagged()); |
3379 SetFlag(kIsArguments); | 3379 SetFlag(kIsArguments); |
3380 } | 3380 } |
3381 | |
3382 virtual bool IsDeletable() const V8_FINAL V8_OVERRIDE { return true; } | |
3383 }; | 3381 }; |
3384 | 3382 |
3385 | 3383 |
3386 class HCapturedObject V8_FINAL : public HDematerializedObject { | 3384 class HCapturedObject V8_FINAL : public HDematerializedObject { |
3387 public: | 3385 public: |
3388 HCapturedObject(int length, int id, Zone* zone) | 3386 HCapturedObject(int length, int id, Zone* zone) |
3389 : HDematerializedObject(length, zone), capture_id_(id) { | 3387 : HDematerializedObject(length, zone), capture_id_(id) { |
3390 set_representation(Representation::Tagged()); | 3388 set_representation(Representation::Tagged()); |
3391 values_.AddBlock(NULL, length, zone); // Resize list. | 3389 values_.AddBlock(NULL, length, zone); // Resize list. |
3392 } | 3390 } |
(...skipping 4135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7528 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7526 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
7529 }; | 7527 }; |
7530 | 7528 |
7531 | 7529 |
7532 #undef DECLARE_INSTRUCTION | 7530 #undef DECLARE_INSTRUCTION |
7533 #undef DECLARE_CONCRETE_INSTRUCTION | 7531 #undef DECLARE_CONCRETE_INSTRUCTION |
7534 | 7532 |
7535 } } // namespace v8::internal | 7533 } } // namespace v8::internal |
7536 | 7534 |
7537 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7535 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
OLD | NEW |