OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3266 // shared by multiple instances of the function. | 3266 // shared by multiple instances of the function. |
3267 class SharedFunctionInfo: public HeapObject { | 3267 class SharedFunctionInfo: public HeapObject { |
3268 public: | 3268 public: |
3269 // [name]: Function name. | 3269 // [name]: Function name. |
3270 DECL_ACCESSORS(name, Object) | 3270 DECL_ACCESSORS(name, Object) |
3271 | 3271 |
3272 // [code]: Function code. | 3272 // [code]: Function code. |
3273 DECL_ACCESSORS(code, Code) | 3273 DECL_ACCESSORS(code, Code) |
3274 | 3274 |
3275 // [scope_info]: Scope info. | 3275 // [scope_info]: Scope info. |
3276 DECL_ACCESSORS(scope_info, Object) | 3276 DECL_ACCESSORS(scope_info, SerializedScopeInfo) |
3277 | 3277 |
3278 // [construct stub]: Code stub for constructing instances of this function. | 3278 // [construct stub]: Code stub for constructing instances of this function. |
3279 DECL_ACCESSORS(construct_stub, Code) | 3279 DECL_ACCESSORS(construct_stub, Code) |
3280 | 3280 |
3281 // Returns if this function has been compiled to native code yet. | 3281 // Returns if this function has been compiled to native code yet. |
3282 inline bool is_compiled(); | 3282 inline bool is_compiled(); |
3283 | 3283 |
3284 // [length]: The function length - usually the number of declared parameters. | 3284 // [length]: The function length - usually the number of declared parameters. |
3285 // Use up to 2^30 parameters. | 3285 // Use up to 2^30 parameters. |
3286 inline int length(); | 3286 inline int length(); |
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5360 } else { | 5360 } else { |
5361 value &= ~(1 << bit_position); | 5361 value &= ~(1 << bit_position); |
5362 } | 5362 } |
5363 return value; | 5363 return value; |
5364 } | 5364 } |
5365 }; | 5365 }; |
5366 | 5366 |
5367 } } // namespace v8::internal | 5367 } } // namespace v8::internal |
5368 | 5368 |
5369 #endif // V8_OBJECTS_H_ | 5369 #endif // V8_OBJECTS_H_ |
OLD | NEW |