| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 3602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3614 // [debug info]: Debug information. | 3614 // [debug info]: Debug information. |
| 3615 DECL_ACCESSORS(debug_info, Object) | 3615 DECL_ACCESSORS(debug_info, Object) |
| 3616 | 3616 |
| 3617 // [inferred name]: Name inferred from variable or property | 3617 // [inferred name]: Name inferred from variable or property |
| 3618 // assignment of this function. Used to facilitate debugging and | 3618 // assignment of this function. Used to facilitate debugging and |
| 3619 // profiling of JavaScript code written in OO style, where almost | 3619 // profiling of JavaScript code written in OO style, where almost |
| 3620 // all functions are anonymous but are assigned to object | 3620 // all functions are anonymous but are assigned to object |
| 3621 // properties. | 3621 // properties. |
| 3622 DECL_ACCESSORS(inferred_name, String) | 3622 DECL_ACCESSORS(inferred_name, String) |
| 3623 | 3623 |
| 3624 // The function's name if it is non-empty, otherwise the inferred name. |
| 3625 String* DebugName(); |
| 3626 |
| 3624 // Position of the 'function' token in the script source. | 3627 // Position of the 'function' token in the script source. |
| 3625 inline int function_token_position(); | 3628 inline int function_token_position(); |
| 3626 inline void set_function_token_position(int function_token_position); | 3629 inline void set_function_token_position(int function_token_position); |
| 3627 | 3630 |
| 3628 // Position of this function in the script source. | 3631 // Position of this function in the script source. |
| 3629 inline int start_position(); | 3632 inline int start_position(); |
| 3630 inline void set_start_position(int start_position); | 3633 inline void set_start_position(int start_position); |
| 3631 | 3634 |
| 3632 // End position of this function in the script source. | 3635 // End position of this function in the script source. |
| 3633 inline int end_position(); | 3636 inline int end_position(); |
| (...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5719 } else { | 5722 } else { |
| 5720 value &= ~(1 << bit_position); | 5723 value &= ~(1 << bit_position); |
| 5721 } | 5724 } |
| 5722 return value; | 5725 return value; |
| 5723 } | 5726 } |
| 5724 }; | 5727 }; |
| 5725 | 5728 |
| 5726 } } // namespace v8::internal | 5729 } } // namespace v8::internal |
| 5727 | 5730 |
| 5728 #endif // V8_OBJECTS_H_ | 5731 #endif // V8_OBJECTS_H_ |
| OLD | NEW |