| 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 7202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7213 inline FixedArray* literals(); | 7213 inline FixedArray* literals(); |
| 7214 inline void set_literals(FixedArray* literals); | 7214 inline void set_literals(FixedArray* literals); |
| 7215 | 7215 |
| 7216 inline FixedArray* function_bindings(); | 7216 inline FixedArray* function_bindings(); |
| 7217 inline void set_function_bindings(FixedArray* bindings); | 7217 inline void set_function_bindings(FixedArray* bindings); |
| 7218 | 7218 |
| 7219 // The initial map for an object created by this constructor. | 7219 // The initial map for an object created by this constructor. |
| 7220 inline Map* initial_map(); | 7220 inline Map* initial_map(); |
| 7221 inline void set_initial_map(Map* value); | 7221 inline void set_initial_map(Map* value); |
| 7222 inline bool has_initial_map(); | 7222 inline bool has_initial_map(); |
| 7223 static void EnsureHasInitialMap(Handle<JSFunction> function); |
| 7223 | 7224 |
| 7224 // Get and set the prototype property on a JSFunction. If the | 7225 // Get and set the prototype property on a JSFunction. If the |
| 7225 // function has an initial map the prototype is set on the initial | 7226 // function has an initial map the prototype is set on the initial |
| 7226 // map. Otherwise, the prototype is put in the initial map field | 7227 // map. Otherwise, the prototype is put in the initial map field |
| 7227 // until an initial map is needed. | 7228 // until an initial map is needed. |
| 7228 inline bool has_prototype(); | 7229 inline bool has_prototype(); |
| 7229 inline bool has_instance_prototype(); | 7230 inline bool has_instance_prototype(); |
| 7230 inline Object* prototype(); | 7231 inline Object* prototype(); |
| 7231 inline Object* instance_prototype(); | 7232 inline Object* instance_prototype(); |
| 7232 static void SetPrototype(Handle<JSFunction> function, | 7233 static void SetPrototype(Handle<JSFunction> function, |
| (...skipping 3188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10421 } else { | 10422 } else { |
| 10422 value &= ~(1 << bit_position); | 10423 value &= ~(1 << bit_position); |
| 10423 } | 10424 } |
| 10424 return value; | 10425 return value; |
| 10425 } | 10426 } |
| 10426 }; | 10427 }; |
| 10427 | 10428 |
| 10428 } } // namespace v8::internal | 10429 } } // namespace v8::internal |
| 10429 | 10430 |
| 10430 #endif // V8_OBJECTS_H_ | 10431 #endif // V8_OBJECTS_H_ |
| OLD | NEW |