OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 5405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5416 | 5416 |
5417 private: | 5417 private: |
5418 DISALLOW_IMPLICIT_CONSTRUCTORS(InterceptorInfo); | 5418 DISALLOW_IMPLICIT_CONSTRUCTORS(InterceptorInfo); |
5419 }; | 5419 }; |
5420 | 5420 |
5421 | 5421 |
5422 class CallHandlerInfo: public Struct { | 5422 class CallHandlerInfo: public Struct { |
5423 public: | 5423 public: |
5424 DECL_ACCESSORS(callback, Object) | 5424 DECL_ACCESSORS(callback, Object) |
5425 DECL_ACCESSORS(data, Object) | 5425 DECL_ACCESSORS(data, Object) |
| 5426 DECL_ACCESSORS(call_stub_cache, Object) |
5426 | 5427 |
5427 static inline CallHandlerInfo* cast(Object* obj); | 5428 static inline CallHandlerInfo* cast(Object* obj); |
5428 | 5429 |
5429 #ifdef DEBUG | 5430 #ifdef DEBUG |
5430 void CallHandlerInfoPrint(); | 5431 void CallHandlerInfoPrint(); |
5431 void CallHandlerInfoVerify(); | 5432 void CallHandlerInfoVerify(); |
5432 #endif | 5433 #endif |
5433 | 5434 |
5434 static const int kCallbackOffset = HeapObject::kHeaderSize; | 5435 static const int kCallbackOffset = HeapObject::kHeaderSize; |
5435 static const int kDataOffset = kCallbackOffset + kPointerSize; | 5436 static const int kDataOffset = kCallbackOffset + kPointerSize; |
5436 static const int kSize = kDataOffset + kPointerSize; | 5437 static const int kCallStubCacheOffset = kDataOffset + kPointerSize; |
| 5438 static const int kSize = kCallStubCacheOffset + kPointerSize; |
5437 | 5439 |
5438 private: | 5440 private: |
5439 DISALLOW_IMPLICIT_CONSTRUCTORS(CallHandlerInfo); | 5441 DISALLOW_IMPLICIT_CONSTRUCTORS(CallHandlerInfo); |
5440 }; | 5442 }; |
5441 | 5443 |
5442 | 5444 |
5443 class TemplateInfo: public Struct { | 5445 class TemplateInfo: public Struct { |
5444 public: | 5446 public: |
5445 DECL_ACCESSORS(tag, Object) | 5447 DECL_ACCESSORS(tag, Object) |
5446 DECL_ACCESSORS(property_list, Object) | 5448 DECL_ACCESSORS(property_list, Object) |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5772 } else { | 5774 } else { |
5773 value &= ~(1 << bit_position); | 5775 value &= ~(1 << bit_position); |
5774 } | 5776 } |
5775 return value; | 5777 return value; |
5776 } | 5778 } |
5777 }; | 5779 }; |
5778 | 5780 |
5779 } } // namespace v8::internal | 5781 } } // namespace v8::internal |
5780 | 5782 |
5781 #endif // V8_OBJECTS_H_ | 5783 #endif // V8_OBJECTS_H_ |
OLD | NEW |