| 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 5525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5536 | 5536 |
| 5537 void CreateFreeSpaceFiller(int32_t filler_size); | 5537 void CreateFreeSpaceFiller(int32_t filler_size); |
| 5538 | 5538 |
| 5539 bool IsFoldable(HAllocate* allocate) { | 5539 bool IsFoldable(HAllocate* allocate) { |
| 5540 return (IsNewSpaceAllocation() && allocate->IsNewSpaceAllocation()) || | 5540 return (IsNewSpaceAllocation() && allocate->IsNewSpaceAllocation()) || |
| 5541 (IsOldDataSpaceAllocation() && allocate->IsOldDataSpaceAllocation()) || | 5541 (IsOldDataSpaceAllocation() && allocate->IsOldDataSpaceAllocation()) || |
| 5542 (IsOldPointerSpaceAllocation() && | 5542 (IsOldPointerSpaceAllocation() && |
| 5543 allocate->IsOldPointerSpaceAllocation()); | 5543 allocate->IsOldPointerSpaceAllocation()); |
| 5544 } | 5544 } |
| 5545 | 5545 |
| 5546 void ClearNextMapWord(int offset); | 5546 void ClearNextMapWord(HAllocate* dominated, int offset); |
| 5547 | 5547 |
| 5548 Flags flags_; | 5548 Flags flags_; |
| 5549 Handle<Map> known_initial_map_; | 5549 Handle<Map> known_initial_map_; |
| 5550 HAllocate* dominating_allocate_; | 5550 HAllocate* dominating_allocate_; |
| 5551 HStoreNamedField* filler_free_space_size_; | 5551 HStoreNamedField* filler_free_space_size_; |
| 5552 }; | 5552 }; |
| 5553 | 5553 |
| 5554 | 5554 |
| 5555 class HStoreCodeEntry V8_FINAL: public HTemplateInstruction<2> { | 5555 class HStoreCodeEntry V8_FINAL: public HTemplateInstruction<2> { |
| 5556 public: | 5556 public: |
| (...skipping 2004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7561 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7561 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7562 }; | 7562 }; |
| 7563 | 7563 |
| 7564 | 7564 |
| 7565 #undef DECLARE_INSTRUCTION | 7565 #undef DECLARE_INSTRUCTION |
| 7566 #undef DECLARE_CONCRETE_INSTRUCTION | 7566 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7567 | 7567 |
| 7568 } } // namespace v8::internal | 7568 } } // namespace v8::internal |
| 7569 | 7569 |
| 7570 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7570 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |