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 5003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5014 | 5014 |
5015 // [deoptimization_data]: Array containing data for deopt. | 5015 // [deoptimization_data]: Array containing data for deopt. |
5016 DECL_ACCESSORS(deoptimization_data, FixedArray) | 5016 DECL_ACCESSORS(deoptimization_data, FixedArray) |
5017 | 5017 |
5018 // [type_feedback_info]: This field stores various things, depending on the | 5018 // [type_feedback_info]: This field stores various things, depending on the |
5019 // kind of the code object. | 5019 // kind of the code object. |
5020 // FUNCTION => type feedback information. | 5020 // FUNCTION => type feedback information. |
5021 // STUB => various things, e.g. a SMI | 5021 // STUB => various things, e.g. a SMI |
5022 // OPTIMIZED_FUNCTION => the next_code_link for optimized code list. | 5022 // OPTIMIZED_FUNCTION => the next_code_link for optimized code list. |
5023 DECL_ACCESSORS(type_feedback_info, Object) | 5023 DECL_ACCESSORS(type_feedback_info, Object) |
| 5024 inline Object* raw_type_feedback_info(); |
5024 inline void InitializeTypeFeedbackInfoNoWriteBarrier(Object* value); | 5025 inline void InitializeTypeFeedbackInfoNoWriteBarrier(Object* value); |
5025 inline int stub_info(); | 5026 inline int stub_info(); |
5026 inline void set_stub_info(int info); | 5027 inline void set_stub_info(int info); |
5027 | 5028 |
5028 // [next_code_link]: Link for lists of optimized or deoptimized code. | 5029 // [next_code_link]: Link for lists of optimized or deoptimized code. |
5029 // Note that storage for this field is overlapped with typefeedback_info. | 5030 // Note that storage for this field is overlapped with typefeedback_info. |
5030 DECL_ACCESSORS(next_code_link, Object) | 5031 DECL_ACCESSORS(next_code_link, Object) |
5031 | 5032 |
5032 // [gc_metadata]: Field used to hold GC related metadata. The contents of this | 5033 // [gc_metadata]: Field used to hold GC related metadata. The contents of this |
5033 // field does not have to be traced during garbage collection since | 5034 // field does not have to be traced during garbage collection since |
(...skipping 5406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10440 } else { | 10441 } else { |
10441 value &= ~(1 << bit_position); | 10442 value &= ~(1 << bit_position); |
10442 } | 10443 } |
10443 return value; | 10444 return value; |
10444 } | 10445 } |
10445 }; | 10446 }; |
10446 | 10447 |
10447 } } // namespace v8::internal | 10448 } } // namespace v8::internal |
10448 | 10449 |
10449 #endif // V8_OBJECTS_H_ | 10450 #endif // V8_OBJECTS_H_ |
OLD | NEW |