| 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 5166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5177 V(FUNCTION) \ | 5177 V(FUNCTION) \ |
| 5178 V(OPTIMIZED_FUNCTION) \ | 5178 V(OPTIMIZED_FUNCTION) \ |
| 5179 V(STUB) \ | 5179 V(STUB) \ |
| 5180 V(HANDLER) \ | 5180 V(HANDLER) \ |
| 5181 V(BUILTIN) \ | 5181 V(BUILTIN) \ |
| 5182 V(REGEXP) | 5182 V(REGEXP) |
| 5183 | 5183 |
| 5184 #define IC_KIND_LIST(V) \ | 5184 #define IC_KIND_LIST(V) \ |
| 5185 V(LOAD_IC) \ | 5185 V(LOAD_IC) \ |
| 5186 V(KEYED_LOAD_IC) \ | 5186 V(KEYED_LOAD_IC) \ |
| 5187 V(CALL_IC) \ |
| 5187 V(STORE_IC) \ | 5188 V(STORE_IC) \ |
| 5188 V(KEYED_STORE_IC) \ | 5189 V(KEYED_STORE_IC) \ |
| 5189 V(BINARY_OP_IC) \ | 5190 V(BINARY_OP_IC) \ |
| 5190 V(COMPARE_IC) \ | 5191 V(COMPARE_IC) \ |
| 5191 V(COMPARE_NIL_IC) \ | 5192 V(COMPARE_NIL_IC) \ |
| 5192 V(TO_BOOLEAN_IC) | 5193 V(TO_BOOLEAN_IC) |
| 5193 | 5194 |
| 5194 #define CODE_KIND_LIST(V) \ | 5195 #define CODE_KIND_LIST(V) \ |
| 5195 NON_IC_KIND_LIST(V) \ | 5196 NON_IC_KIND_LIST(V) \ |
| 5196 IC_KIND_LIST(V) | 5197 IC_KIND_LIST(V) |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5287 inline StubType type(); // Only valid for monomorphic IC stubs. | 5288 inline StubType type(); // Only valid for monomorphic IC stubs. |
| 5288 | 5289 |
| 5289 // Testers for IC stub kinds. | 5290 // Testers for IC stub kinds. |
| 5290 inline bool is_inline_cache_stub(); | 5291 inline bool is_inline_cache_stub(); |
| 5291 inline bool is_debug_stub(); | 5292 inline bool is_debug_stub(); |
| 5292 inline bool is_handler() { return kind() == HANDLER; } | 5293 inline bool is_handler() { return kind() == HANDLER; } |
| 5293 inline bool is_load_stub() { return kind() == LOAD_IC; } | 5294 inline bool is_load_stub() { return kind() == LOAD_IC; } |
| 5294 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } | 5295 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } |
| 5295 inline bool is_store_stub() { return kind() == STORE_IC; } | 5296 inline bool is_store_stub() { return kind() == STORE_IC; } |
| 5296 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } | 5297 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
| 5298 inline bool is_call_stub() { return kind() == CALL_IC; } |
| 5297 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } | 5299 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
| 5298 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } | 5300 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } |
| 5299 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } | 5301 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
| 5300 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } | 5302 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
| 5301 inline bool is_keyed_stub(); | 5303 inline bool is_keyed_stub(); |
| 5302 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } | 5304 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } |
| 5303 | 5305 |
| 5304 inline void set_raw_kind_specific_flags1(int value); | 5306 inline void set_raw_kind_specific_flags1(int value); |
| 5305 inline void set_raw_kind_specific_flags2(int value); | 5307 inline void set_raw_kind_specific_flags2(int value); |
| 5306 | 5308 |
| (...skipping 5488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10795 } else { | 10797 } else { |
| 10796 value &= ~(1 << bit_position); | 10798 value &= ~(1 << bit_position); |
| 10797 } | 10799 } |
| 10798 return value; | 10800 return value; |
| 10799 } | 10801 } |
| 10800 }; | 10802 }; |
| 10801 | 10803 |
| 10802 } } // namespace v8::internal | 10804 } } // namespace v8::internal |
| 10803 | 10805 |
| 10804 #endif // V8_OBJECTS_H_ | 10806 #endif // V8_OBJECTS_H_ |
| OLD | NEW |