| 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 3738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3749 return ExtractExtendedExtraICStateFromFlags(flags()); | 3749 return ExtractExtendedExtraICStateFromFlags(flags()); |
| 3750 } | 3750 } |
| 3751 | 3751 |
| 3752 | 3752 |
| 3753 Code::StubType Code::type() { | 3753 Code::StubType Code::type() { |
| 3754 return ExtractTypeFromFlags(flags()); | 3754 return ExtractTypeFromFlags(flags()); |
| 3755 } | 3755 } |
| 3756 | 3756 |
| 3757 | 3757 |
| 3758 int Code::arguments_count() { | 3758 int Code::arguments_count() { |
| 3759 ASSERT(is_call_stub() || is_keyed_call_stub() || kind() == STUB); | 3759 ASSERT(is_call_stub() || is_keyed_call_stub() || |
| 3760 kind() == STUB || is_handler()); |
| 3760 return ExtractArgumentsCountFromFlags(flags()); | 3761 return ExtractArgumentsCountFromFlags(flags()); |
| 3761 } | 3762 } |
| 3762 | 3763 |
| 3763 | 3764 |
| 3764 inline bool Code::is_crankshafted() { | 3765 inline bool Code::is_crankshafted() { |
| 3765 return IsCrankshaftedField::decode( | 3766 return IsCrankshaftedField::decode( |
| 3766 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset)); | 3767 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset)); |
| 3767 } | 3768 } |
| 3768 | 3769 |
| 3769 | 3770 |
| (...skipping 2482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6252 #undef WRITE_UINT32_FIELD | 6253 #undef WRITE_UINT32_FIELD |
| 6253 #undef READ_SHORT_FIELD | 6254 #undef READ_SHORT_FIELD |
| 6254 #undef WRITE_SHORT_FIELD | 6255 #undef WRITE_SHORT_FIELD |
| 6255 #undef READ_BYTE_FIELD | 6256 #undef READ_BYTE_FIELD |
| 6256 #undef WRITE_BYTE_FIELD | 6257 #undef WRITE_BYTE_FIELD |
| 6257 | 6258 |
| 6258 | 6259 |
| 6259 } } // namespace v8::internal | 6260 } } // namespace v8::internal |
| 6260 | 6261 |
| 6261 #endif // V8_OBJECTS_INL_H_ | 6262 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |