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 4745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4756 class Code: public HeapObject { | 4756 class Code: public HeapObject { |
4757 public: | 4757 public: |
4758 // Opaque data type for encapsulating code flags like kind, inline | 4758 // Opaque data type for encapsulating code flags like kind, inline |
4759 // cache state, and arguments count. | 4759 // cache state, and arguments count. |
4760 typedef uint32_t Flags; | 4760 typedef uint32_t Flags; |
4761 | 4761 |
4762 #define NON_IC_KIND_LIST(V) \ | 4762 #define NON_IC_KIND_LIST(V) \ |
4763 V(FUNCTION) \ | 4763 V(FUNCTION) \ |
4764 V(OPTIMIZED_FUNCTION) \ | 4764 V(OPTIMIZED_FUNCTION) \ |
4765 V(STUB) \ | 4765 V(STUB) \ |
| 4766 V(HANDLER) \ |
4766 V(BUILTIN) \ | 4767 V(BUILTIN) \ |
4767 V(REGEXP) | 4768 V(REGEXP) |
4768 | 4769 |
4769 #define IC_KIND_LIST(V) \ | 4770 #define IC_KIND_LIST(V) \ |
4770 V(LOAD_IC) \ | 4771 V(LOAD_IC) \ |
4771 V(KEYED_LOAD_IC) \ | 4772 V(KEYED_LOAD_IC) \ |
4772 V(CALL_IC) \ | 4773 V(CALL_IC) \ |
4773 V(KEYED_CALL_IC) \ | 4774 V(KEYED_CALL_IC) \ |
4774 V(STORE_IC) \ | 4775 V(STORE_IC) \ |
4775 V(KEYED_STORE_IC) \ | 4776 V(KEYED_STORE_IC) \ |
(...skipping 5457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10233 } else { | 10234 } else { |
10234 value &= ~(1 << bit_position); | 10235 value &= ~(1 << bit_position); |
10235 } | 10236 } |
10236 return value; | 10237 return value; |
10237 } | 10238 } |
10238 }; | 10239 }; |
10239 | 10240 |
10240 } } // namespace v8::internal | 10241 } } // namespace v8::internal |
10241 | 10242 |
10242 #endif // V8_OBJECTS_H_ | 10243 #endif // V8_OBJECTS_H_ |
OLD | NEW |