OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 3558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3569 // [stack_check_table_start]: For kind FUNCTION, the offset in the | 3569 // [stack_check_table_start]: For kind FUNCTION, the offset in the |
3570 // instruction stream where the stack check table starts. | 3570 // instruction stream where the stack check table starts. |
3571 inline unsigned stack_check_table_offset(); | 3571 inline unsigned stack_check_table_offset(); |
3572 inline void set_stack_check_table_offset(unsigned offset); | 3572 inline void set_stack_check_table_offset(unsigned offset); |
3573 | 3573 |
3574 // [check type]: For kind CALL_IC, tells how to check if the | 3574 // [check type]: For kind CALL_IC, tells how to check if the |
3575 // receiver is valid for the given call. | 3575 // receiver is valid for the given call. |
3576 inline CheckType check_type(); | 3576 inline CheckType check_type(); |
3577 inline void set_check_type(CheckType value); | 3577 inline void set_check_type(CheckType value); |
3578 | 3578 |
3579 // [external array type]: For kind KEYED_EXTERNAL_ARRAY_LOAD_IC and | |
3580 // KEYED_EXTERNAL_ARRAY_STORE_IC, identifies the type of external | |
3581 // array that the code stub is specialized for. | |
3582 inline ExternalArrayType external_array_type(); | |
3583 inline void set_external_array_type(ExternalArrayType value); | |
3584 | |
3585 // [type-recording unary op type]: For all UNARY_OP_IC. | 3579 // [type-recording unary op type]: For all UNARY_OP_IC. |
3586 inline byte unary_op_type(); | 3580 inline byte unary_op_type(); |
3587 inline void set_unary_op_type(byte value); | 3581 inline void set_unary_op_type(byte value); |
3588 | 3582 |
3589 // [type-recording binary op type]: For all TYPE_RECORDING_BINARY_OP_IC. | 3583 // [type-recording binary op type]: For all TYPE_RECORDING_BINARY_OP_IC. |
3590 inline byte binary_op_type(); | 3584 inline byte binary_op_type(); |
3591 inline void set_binary_op_type(byte value); | 3585 inline void set_binary_op_type(byte value); |
3592 inline byte binary_op_result_type(); | 3586 inline byte binary_op_result_type(); |
3593 inline void set_binary_op_result_type(byte value); | 3587 inline void set_binary_op_result_type(byte value); |
3594 | 3588 |
(...skipping 3491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7086 } else { | 7080 } else { |
7087 value &= ~(1 << bit_position); | 7081 value &= ~(1 << bit_position); |
7088 } | 7082 } |
7089 return value; | 7083 return value; |
7090 } | 7084 } |
7091 }; | 7085 }; |
7092 | 7086 |
7093 } } // namespace v8::internal | 7087 } } // namespace v8::internal |
7094 | 7088 |
7095 #endif // V8_OBJECTS_H_ | 7089 #endif // V8_OBJECTS_H_ |
OLD | NEW |