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 4839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4850 int at(int i) { return start_indexes_[i]; } | 4850 int at(int i) { return start_indexes_[i]; } |
4851 int number_of_entries() { return start_indexes_[kGroupCount]; } | 4851 int number_of_entries() { return start_indexes_[kGroupCount]; } |
4852 private: | 4852 private: |
4853 int start_indexes_[kGroupCount + 1]; | 4853 int start_indexes_[kGroupCount + 1]; |
4854 }; | 4854 }; |
4855 | 4855 |
4856 bool Contains(DependencyGroup group, Code* code); | 4856 bool Contains(DependencyGroup group, Code* code); |
4857 static Handle<DependentCode> Insert(Handle<DependentCode> entries, | 4857 static Handle<DependentCode> Insert(Handle<DependentCode> entries, |
4858 DependencyGroup group, | 4858 DependencyGroup group, |
4859 Handle<Code> value); | 4859 Handle<Code> value); |
4860 void DeoptimizeDependentCodeGroup(DependentCode::DependencyGroup group); | 4860 void DeoptimizeDependentCodeGroup(Isolate* isolate, |
| 4861 DependentCode::DependencyGroup group); |
4861 | 4862 |
4862 // The following low-level accessors should only be used by this class | 4863 // The following low-level accessors should only be used by this class |
4863 // and the mark compact collector. | 4864 // and the mark compact collector. |
4864 inline int number_of_entries(DependencyGroup group); | 4865 inline int number_of_entries(DependencyGroup group); |
4865 inline void set_number_of_entries(DependencyGroup group, int value); | 4866 inline void set_number_of_entries(DependencyGroup group, int value); |
4866 inline Code* code_at(int i); | 4867 inline Code* code_at(int i); |
4867 inline void set_code_at(int i, Code* value); | 4868 inline void set_code_at(int i, Code* value); |
4868 inline Object** code_slot_at(int i); | 4869 inline Object** code_slot_at(int i); |
4869 inline void clear_code_at(int i); | 4870 inline void clear_code_at(int i); |
4870 static inline DependentCode* cast(Object* object); | 4871 static inline DependentCode* cast(Object* object); |
(...skipping 4391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9262 } else { | 9263 } else { |
9263 value &= ~(1 << bit_position); | 9264 value &= ~(1 << bit_position); |
9264 } | 9265 } |
9265 return value; | 9266 return value; |
9266 } | 9267 } |
9267 }; | 9268 }; |
9268 | 9269 |
9269 } } // namespace v8::internal | 9270 } } // namespace v8::internal |
9270 | 9271 |
9271 #endif // V8_OBJECTS_H_ | 9272 #endif // V8_OBJECTS_H_ |
OLD | NEW |