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 3346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3357 inline Object* unchecked_context(); | 3357 inline Object* unchecked_context(); |
3358 inline void set_context(Object* context); | 3358 inline void set_context(Object* context); |
3359 | 3359 |
3360 // [code]: The generated code object for this function. Executed | 3360 // [code]: The generated code object for this function. Executed |
3361 // when the function is invoked, e.g. foo() or new foo(). See | 3361 // when the function is invoked, e.g. foo() or new foo(). See |
3362 // [[Call]] and [[Construct]] description in ECMA-262, section | 3362 // [[Call]] and [[Construct]] description in ECMA-262, section |
3363 // 8.6.2, page 27. | 3363 // 8.6.2, page 27. |
3364 inline Code* code(); | 3364 inline Code* code(); |
3365 inline void set_code(Code* value); | 3365 inline void set_code(Code* value); |
3366 | 3366 |
3367 // Tells whether this function is a context-independent boilerplate | |
3368 // function. | |
3369 inline bool IsBoilerplate(); | |
3370 | |
3371 // Tells whether this function is builtin. | 3367 // Tells whether this function is builtin. |
3372 inline bool IsBuiltin(); | 3368 inline bool IsBuiltin(); |
3373 | 3369 |
3374 // [literals]: Fixed array holding the materialized literals. | 3370 // [literals]: Fixed array holding the materialized literals. |
3375 // | 3371 // |
3376 // If the function contains object, regexp or array literals, the | 3372 // If the function contains object, regexp or array literals, the |
3377 // literals array prefix contains the object, regexp, and array | 3373 // literals array prefix contains the object, regexp, and array |
3378 // function to be used when creating these literals. This is | 3374 // function to be used when creating these literals. This is |
3379 // necessary so that we do not dynamically lookup the object, regexp | 3375 // necessary so that we do not dynamically lookup the object, regexp |
3380 // or array functions. Performing a dynamic lookup, we might end up | 3376 // or array functions. Performing a dynamic lookup, we might end up |
(...skipping 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5135 } else { | 5131 } else { |
5136 value &= ~(1 << bit_position); | 5132 value &= ~(1 << bit_position); |
5137 } | 5133 } |
5138 return value; | 5134 return value; |
5139 } | 5135 } |
5140 }; | 5136 }; |
5141 | 5137 |
5142 } } // namespace v8::internal | 5138 } } // namespace v8::internal |
5143 | 5139 |
5144 #endif // V8_OBJECTS_H_ | 5140 #endif // V8_OBJECTS_H_ |
OLD | NEW |