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 4887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4898 inline bool is_load_stub() { return kind() == LOAD_IC; } | 4898 inline bool is_load_stub() { return kind() == LOAD_IC; } |
4899 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } | 4899 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } |
4900 inline bool is_store_stub() { return kind() == STORE_IC; } | 4900 inline bool is_store_stub() { return kind() == STORE_IC; } |
4901 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } | 4901 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
4902 inline bool is_call_stub() { return kind() == CALL_IC; } | 4902 inline bool is_call_stub() { return kind() == CALL_IC; } |
4903 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } | 4903 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } |
4904 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } | 4904 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
4905 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } | 4905 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } |
4906 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } | 4906 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
4907 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } | 4907 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
| 4908 inline bool is_keyed_stub(); |
4908 | 4909 |
4909 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. | 4910 // [major_key]: For kind STUB or BINARY_OP_IC, the major key. |
4910 inline int major_key(); | 4911 inline int major_key(); |
4911 inline void set_major_key(int value); | 4912 inline void set_major_key(int value); |
4912 | 4913 |
4913 // For kind STUB or ICs, tells whether or not a code object was generated by | 4914 // For kind STUB or ICs, tells whether or not a code object was generated by |
4914 // the optimizing compiler (but it may not be an optimized function). | 4915 // the optimizing compiler (but it may not be an optimized function). |
4915 bool is_crankshafted(); | 4916 bool is_crankshafted(); |
4916 inline void set_is_crankshafted(bool value); | 4917 inline void set_is_crankshafted(bool value); |
4917 | 4918 |
(...skipping 5321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10239 } else { | 10240 } else { |
10240 value &= ~(1 << bit_position); | 10241 value &= ~(1 << bit_position); |
10241 } | 10242 } |
10242 return value; | 10243 return value; |
10243 } | 10244 } |
10244 }; | 10245 }; |
10245 | 10246 |
10246 } } // namespace v8::internal | 10247 } } // namespace v8::internal |
10247 | 10248 |
10248 #endif // V8_OBJECTS_H_ | 10249 #endif // V8_OBJECTS_H_ |
OLD | NEW |