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 4645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4656 | 4656 |
4657 // [type-recording unary op type]: For kind UNARY_OP_IC. | 4657 // [type-recording unary op type]: For kind UNARY_OP_IC. |
4658 inline byte unary_op_type(); | 4658 inline byte unary_op_type(); |
4659 inline void set_unary_op_type(byte value); | 4659 inline void set_unary_op_type(byte value); |
4660 | 4660 |
4661 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. | 4661 // [to_boolean_foo]: For kind TO_BOOLEAN_IC tells what state the stub is in. |
4662 inline byte to_boolean_state(); | 4662 inline byte to_boolean_state(); |
4663 | 4663 |
4664 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in. | 4664 // [compare_nil]: For kind COMPARE_NIL_IC tells what state the stub is in. |
4665 byte compare_nil_state(); | 4665 byte compare_nil_state(); |
| 4666 byte compare_nil_value(); |
4666 | 4667 |
4667 // [has_function_cache]: For kind STUB tells whether there is a function | 4668 // [has_function_cache]: For kind STUB tells whether there is a function |
4668 // cache is passed to the stub. | 4669 // cache is passed to the stub. |
4669 inline bool has_function_cache(); | 4670 inline bool has_function_cache(); |
4670 inline void set_has_function_cache(bool flag); | 4671 inline void set_has_function_cache(bool flag); |
4671 | 4672 |
4672 | 4673 |
4673 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether | 4674 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether |
4674 // the code is going to be deoptimized because of dead embedded maps. | 4675 // the code is going to be deoptimized because of dead embedded maps. |
4675 inline bool marked_for_deoptimization(); | 4676 inline bool marked_for_deoptimization(); |
(...skipping 5008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9684 } else { | 9685 } else { |
9685 value &= ~(1 << bit_position); | 9686 value &= ~(1 << bit_position); |
9686 } | 9687 } |
9687 return value; | 9688 return value; |
9688 } | 9689 } |
9689 }; | 9690 }; |
9690 | 9691 |
9691 } } // namespace v8::internal | 9692 } } // namespace v8::internal |
9692 | 9693 |
9693 #endif // V8_OBJECTS_H_ | 9694 #endif // V8_OBJECTS_H_ |
OLD | NEW |