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