| 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 4891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4902 // clients of this API that pass "extra" values in for argc. These clients | 4902 // clients of this API that pass "extra" values in for argc. These clients |
| 4903 // should be retrofitted to used ExtendedExtraICState. | 4903 // should be retrofitted to used ExtendedExtraICState. |
| 4904 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC; | 4904 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC; |
| 4905 } | 4905 } |
| 4906 | 4906 |
| 4907 inline StubType type(); // Only valid for monomorphic IC stubs. | 4907 inline StubType type(); // Only valid for monomorphic IC stubs. |
| 4908 inline int arguments_count(); // Only valid for call IC stubs. | 4908 inline int arguments_count(); // Only valid for call IC stubs. |
| 4909 | 4909 |
| 4910 // Testers for IC stub kinds. | 4910 // Testers for IC stub kinds. |
| 4911 inline bool is_inline_cache_stub(); | 4911 inline bool is_inline_cache_stub(); |
| 4912 inline bool is_debug_break(); | 4912 inline bool is_debug_stub(); |
| 4913 inline bool is_load_stub() { return kind() == LOAD_IC; } | 4913 inline bool is_load_stub() { return kind() == LOAD_IC; } |
| 4914 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } | 4914 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } |
| 4915 inline bool is_store_stub() { return kind() == STORE_IC; } | 4915 inline bool is_store_stub() { return kind() == STORE_IC; } |
| 4916 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } | 4916 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
| 4917 inline bool is_call_stub() { return kind() == CALL_IC; } | 4917 inline bool is_call_stub() { return kind() == CALL_IC; } |
| 4918 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } | 4918 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } |
| 4919 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } | 4919 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
| 4920 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } | 4920 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } |
| 4921 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } | 4921 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
| 4922 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } | 4922 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
| (...skipping 5248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10171 } else { | 10171 } else { |
| 10172 value &= ~(1 << bit_position); | 10172 value &= ~(1 << bit_position); |
| 10173 } | 10173 } |
| 10174 return value; | 10174 return value; |
| 10175 } | 10175 } |
| 10176 }; | 10176 }; |
| 10177 | 10177 |
| 10178 } } // namespace v8::internal | 10178 } } // namespace v8::internal |
| 10179 | 10179 |
| 10180 #endif // V8_OBJECTS_H_ | 10180 #endif // V8_OBJECTS_H_ |
| OLD | NEW |