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 5624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5635 Handle<Object> object); | 5635 Handle<Object> object); |
5636 void UpdateToFinishedCode(DependencyGroup group, | 5636 void UpdateToFinishedCode(DependencyGroup group, |
5637 CompilationInfo* info, | 5637 CompilationInfo* info, |
5638 Code* code); | 5638 Code* code); |
5639 void RemoveCompilationInfo(DependentCode::DependencyGroup group, | 5639 void RemoveCompilationInfo(DependentCode::DependencyGroup group, |
5640 CompilationInfo* info); | 5640 CompilationInfo* info); |
5641 | 5641 |
5642 void DeoptimizeDependentCodeGroup(Isolate* isolate, | 5642 void DeoptimizeDependentCodeGroup(Isolate* isolate, |
5643 DependentCode::DependencyGroup group); | 5643 DependentCode::DependencyGroup group); |
5644 | 5644 |
| 5645 bool MarkCodeForDeoptimization(Isolate* isolate, |
| 5646 DependentCode::DependencyGroup group); |
| 5647 |
5645 // The following low-level accessors should only be used by this class | 5648 // The following low-level accessors should only be used by this class |
5646 // and the mark compact collector. | 5649 // and the mark compact collector. |
5647 inline int number_of_entries(DependencyGroup group); | 5650 inline int number_of_entries(DependencyGroup group); |
5648 inline void set_number_of_entries(DependencyGroup group, int value); | 5651 inline void set_number_of_entries(DependencyGroup group, int value); |
5649 inline bool is_code_at(int i); | 5652 inline bool is_code_at(int i); |
5650 inline Code* code_at(int i); | 5653 inline Code* code_at(int i); |
5651 inline CompilationInfo* compilation_info_at(int i); | 5654 inline CompilationInfo* compilation_info_at(int i); |
5652 inline void set_object_at(int i, Object* object); | 5655 inline void set_object_at(int i, Object* object); |
5653 inline Object** slot_at(int i); | 5656 inline Object** slot_at(int i); |
5654 inline Object* object_at(int i); | 5657 inline Object* object_at(int i); |
(...skipping 5000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10655 } else { | 10658 } else { |
10656 value &= ~(1 << bit_position); | 10659 value &= ~(1 << bit_position); |
10657 } | 10660 } |
10658 return value; | 10661 return value; |
10659 } | 10662 } |
10660 }; | 10663 }; |
10661 | 10664 |
10662 } } // namespace v8::internal | 10665 } } // namespace v8::internal |
10663 | 10666 |
10664 #endif // V8_OBJECTS_H_ | 10667 #endif // V8_OBJECTS_H_ |
OLD | NEW |