| 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 5647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5658 | 5658 |
| 5659 // [compilation]: how the the script was compiled. | 5659 // [compilation]: how the the script was compiled. |
| 5660 DECL_ACCESSORS(compilation_type, Smi) | 5660 DECL_ACCESSORS(compilation_type, Smi) |
| 5661 | 5661 |
| 5662 // [is_compiled]: determines whether the script has already been compiled. | 5662 // [is_compiled]: determines whether the script has already been compiled. |
| 5663 DECL_ACCESSORS(compilation_state, Smi) | 5663 DECL_ACCESSORS(compilation_state, Smi) |
| 5664 | 5664 |
| 5665 // [line_ends]: FixedArray of line ends positions. | 5665 // [line_ends]: FixedArray of line ends positions. |
| 5666 DECL_ACCESSORS(line_ends, Object) | 5666 DECL_ACCESSORS(line_ends, Object) |
| 5667 | 5667 |
| 5668 // [eval_from_shared]: for eval scripts the shared funcion info for the | 5668 // [eval_from_shared]: for eval scripts the shared function info for the |
| 5669 // function from which eval was called. | 5669 // function from which eval was called. |
| 5670 DECL_ACCESSORS(eval_from_shared, Object) | 5670 DECL_ACCESSORS(eval_from_shared, Object) |
| 5671 | 5671 |
| 5672 // [eval_from_instructions_offset]: the instruction offset in the code for the | 5672 // [eval_from_instructions_offset]: the instruction offset in the code for the |
| 5673 // function from which eval was called where eval was called. | 5673 // function from which eval was called where eval was called. |
| 5674 DECL_ACCESSORS(eval_from_instructions_offset, Smi) | 5674 DECL_ACCESSORS(eval_from_instructions_offset, Smi) |
| 5675 | 5675 |
| 5676 static inline Script* cast(Object* obj); | 5676 static inline Script* cast(Object* obj); |
| 5677 | 5677 |
| 5678 // If script source is an external string, check that the underlying | 5678 // If script source is an external string, check that the underlying |
| (...skipping 3846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9525 } else { | 9525 } else { |
| 9526 value &= ~(1 << bit_position); | 9526 value &= ~(1 << bit_position); |
| 9527 } | 9527 } |
| 9528 return value; | 9528 return value; |
| 9529 } | 9529 } |
| 9530 }; | 9530 }; |
| 9531 | 9531 |
| 9532 } } // namespace v8::internal | 9532 } } // namespace v8::internal |
| 9533 | 9533 |
| 9534 #endif // V8_OBJECTS_H_ | 9534 #endif // V8_OBJECTS_H_ |
| OLD | NEW |