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 5407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5418 V(FUNCTION) \ | 5418 V(FUNCTION) \ |
5419 V(OPTIMIZED_FUNCTION) \ | 5419 V(OPTIMIZED_FUNCTION) \ |
5420 V(STUB) \ | 5420 V(STUB) \ |
5421 V(HANDLER) \ | 5421 V(HANDLER) \ |
5422 V(BUILTIN) \ | 5422 V(BUILTIN) \ |
5423 V(REGEXP) | 5423 V(REGEXP) |
5424 | 5424 |
5425 #define IC_KIND_LIST(V) \ | 5425 #define IC_KIND_LIST(V) \ |
5426 V(LOAD_IC) \ | 5426 V(LOAD_IC) \ |
5427 V(KEYED_LOAD_IC) \ | 5427 V(KEYED_LOAD_IC) \ |
| 5428 V(CALL_IC) \ |
5428 V(STORE_IC) \ | 5429 V(STORE_IC) \ |
5429 V(KEYED_STORE_IC) \ | 5430 V(KEYED_STORE_IC) \ |
5430 V(BINARY_OP_IC) \ | 5431 V(BINARY_OP_IC) \ |
5431 V(COMPARE_IC) \ | 5432 V(COMPARE_IC) \ |
5432 V(COMPARE_NIL_IC) \ | 5433 V(COMPARE_NIL_IC) \ |
5433 V(TO_BOOLEAN_IC) | 5434 V(TO_BOOLEAN_IC) |
5434 | 5435 |
5435 #define CODE_KIND_LIST(V) \ | 5436 #define CODE_KIND_LIST(V) \ |
5436 NON_IC_KIND_LIST(V) \ | 5437 NON_IC_KIND_LIST(V) \ |
5437 IC_KIND_LIST(V) | 5438 IC_KIND_LIST(V) |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5527 inline StubType type(); // Only valid for monomorphic IC stubs. | 5528 inline StubType type(); // Only valid for monomorphic IC stubs. |
5528 | 5529 |
5529 // Testers for IC stub kinds. | 5530 // Testers for IC stub kinds. |
5530 inline bool is_inline_cache_stub(); | 5531 inline bool is_inline_cache_stub(); |
5531 inline bool is_debug_stub(); | 5532 inline bool is_debug_stub(); |
5532 inline bool is_handler() { return kind() == HANDLER; } | 5533 inline bool is_handler() { return kind() == HANDLER; } |
5533 inline bool is_load_stub() { return kind() == LOAD_IC; } | 5534 inline bool is_load_stub() { return kind() == LOAD_IC; } |
5534 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } | 5535 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } |
5535 inline bool is_store_stub() { return kind() == STORE_IC; } | 5536 inline bool is_store_stub() { return kind() == STORE_IC; } |
5536 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } | 5537 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
| 5538 inline bool is_call_stub() { return kind() == CALL_IC; } |
5537 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } | 5539 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
5538 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } | 5540 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } |
5539 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } | 5541 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
5540 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } | 5542 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
5541 inline bool is_keyed_stub(); | 5543 inline bool is_keyed_stub(); |
5542 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } | 5544 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } |
5543 inline bool is_weak_stub(); | 5545 inline bool is_weak_stub(); |
5544 inline void mark_as_weak_stub(); | 5546 inline void mark_as_weak_stub(); |
5545 inline bool is_invalidated_weak_stub(); | 5547 inline bool is_invalidated_weak_stub(); |
5546 inline void mark_as_invalidated_weak_stub(); | 5548 inline void mark_as_invalidated_weak_stub(); |
(...skipping 5735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11282 } else { | 11284 } else { |
11283 value &= ~(1 << bit_position); | 11285 value &= ~(1 << bit_position); |
11284 } | 11286 } |
11285 return value; | 11287 return value; |
11286 } | 11288 } |
11287 }; | 11289 }; |
11288 | 11290 |
11289 } } // namespace v8::internal | 11291 } } // namespace v8::internal |
11290 | 11292 |
11291 #endif // V8_OBJECTS_H_ | 11293 #endif // V8_OBJECTS_H_ |
OLD | NEW |