| 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 6093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6104 | 6104 |
| 6105 inline FixedArray* literals(); | 6105 inline FixedArray* literals(); |
| 6106 inline void set_literals(FixedArray* literals); | 6106 inline void set_literals(FixedArray* literals); |
| 6107 | 6107 |
| 6108 inline FixedArray* function_bindings(); | 6108 inline FixedArray* function_bindings(); |
| 6109 inline void set_function_bindings(FixedArray* bindings); | 6109 inline void set_function_bindings(FixedArray* bindings); |
| 6110 | 6110 |
| 6111 // The initial map for an object created by this constructor. | 6111 // The initial map for an object created by this constructor. |
| 6112 inline Map* initial_map(); | 6112 inline Map* initial_map(); |
| 6113 inline void set_initial_map(Map* value); | 6113 inline void set_initial_map(Map* value); |
| 6114 MUST_USE_RESULT inline MaybeObject* set_initial_map_and_cache_transitions( | |
| 6115 Map* value); | |
| 6116 inline bool has_initial_map(); | 6114 inline bool has_initial_map(); |
| 6117 | 6115 |
| 6118 // Get and set the prototype property on a JSFunction. If the | 6116 // Get and set the prototype property on a JSFunction. If the |
| 6119 // function has an initial map the prototype is set on the initial | 6117 // function has an initial map the prototype is set on the initial |
| 6120 // map. Otherwise, the prototype is put in the initial map field | 6118 // map. Otherwise, the prototype is put in the initial map field |
| 6121 // until an initial map is needed. | 6119 // until an initial map is needed. |
| 6122 inline bool has_prototype(); | 6120 inline bool has_prototype(); |
| 6123 inline bool has_instance_prototype(); | 6121 inline bool has_instance_prototype(); |
| 6124 inline Object* prototype(); | 6122 inline Object* prototype(); |
| 6125 inline Object* instance_prototype(); | 6123 inline Object* instance_prototype(); |
| (...skipping 2829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8955 } else { | 8953 } else { |
| 8956 value &= ~(1 << bit_position); | 8954 value &= ~(1 << bit_position); |
| 8957 } | 8955 } |
| 8958 return value; | 8956 return value; |
| 8959 } | 8957 } |
| 8960 }; | 8958 }; |
| 8961 | 8959 |
| 8962 } } // namespace v8::internal | 8960 } } // namespace v8::internal |
| 8963 | 8961 |
| 8964 #endif // V8_OBJECTS_H_ | 8962 #endif // V8_OBJECTS_H_ |
| OLD | NEW |