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 5174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5185 V(FUNCTION) \ | 5185 V(FUNCTION) \ |
5186 V(OPTIMIZED_FUNCTION) \ | 5186 V(OPTIMIZED_FUNCTION) \ |
5187 V(STUB) \ | 5187 V(STUB) \ |
5188 V(HANDLER) \ | 5188 V(HANDLER) \ |
5189 V(BUILTIN) \ | 5189 V(BUILTIN) \ |
5190 V(REGEXP) | 5190 V(REGEXP) |
5191 | 5191 |
5192 #define IC_KIND_LIST(V) \ | 5192 #define IC_KIND_LIST(V) \ |
5193 V(LOAD_IC) \ | 5193 V(LOAD_IC) \ |
5194 V(KEYED_LOAD_IC) \ | 5194 V(KEYED_LOAD_IC) \ |
5195 V(CALL_IC) \ | |
5196 V(STORE_IC) \ | 5195 V(STORE_IC) \ |
5197 V(KEYED_STORE_IC) \ | 5196 V(KEYED_STORE_IC) \ |
5198 V(BINARY_OP_IC) \ | 5197 V(BINARY_OP_IC) \ |
5199 V(COMPARE_IC) \ | 5198 V(COMPARE_IC) \ |
5200 V(COMPARE_NIL_IC) \ | 5199 V(COMPARE_NIL_IC) \ |
5201 V(TO_BOOLEAN_IC) | 5200 V(TO_BOOLEAN_IC) |
5202 | 5201 |
5203 #define CODE_KIND_LIST(V) \ | 5202 #define CODE_KIND_LIST(V) \ |
5204 NON_IC_KIND_LIST(V) \ | 5203 NON_IC_KIND_LIST(V) \ |
5205 IC_KIND_LIST(V) | 5204 IC_KIND_LIST(V) |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5295 inline StubType type(); // Only valid for monomorphic IC stubs. | 5294 inline StubType type(); // Only valid for monomorphic IC stubs. |
5296 | 5295 |
5297 // Testers for IC stub kinds. | 5296 // Testers for IC stub kinds. |
5298 inline bool is_inline_cache_stub(); | 5297 inline bool is_inline_cache_stub(); |
5299 inline bool is_debug_stub(); | 5298 inline bool is_debug_stub(); |
5300 inline bool is_handler() { return kind() == HANDLER; } | 5299 inline bool is_handler() { return kind() == HANDLER; } |
5301 inline bool is_load_stub() { return kind() == LOAD_IC; } | 5300 inline bool is_load_stub() { return kind() == LOAD_IC; } |
5302 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } | 5301 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } |
5303 inline bool is_store_stub() { return kind() == STORE_IC; } | 5302 inline bool is_store_stub() { return kind() == STORE_IC; } |
5304 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } | 5303 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
5305 inline bool is_call_stub() { return kind() == CALL_IC; } | |
5306 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } | 5304 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
5307 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } | 5305 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } |
5308 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } | 5306 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
5309 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } | 5307 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
5310 inline bool is_keyed_stub(); | 5308 inline bool is_keyed_stub(); |
5311 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } | 5309 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } |
5312 | 5310 |
5313 inline void set_raw_kind_specific_flags1(int value); | 5311 inline void set_raw_kind_specific_flags1(int value); |
5314 inline void set_raw_kind_specific_flags2(int value); | 5312 inline void set_raw_kind_specific_flags2(int value); |
5315 | 5313 |
(...skipping 5507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10823 } else { | 10821 } else { |
10824 value &= ~(1 << bit_position); | 10822 value &= ~(1 << bit_position); |
10825 } | 10823 } |
10826 return value; | 10824 return value; |
10827 } | 10825 } |
10828 }; | 10826 }; |
10829 | 10827 |
10830 } } // namespace v8::internal | 10828 } } // namespace v8::internal |
10831 | 10829 |
10832 #endif // V8_OBJECTS_H_ | 10830 #endif // V8_OBJECTS_H_ |
OLD | NEW |