| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 void InterceptorResult(JSObject* holder) { | 191 void InterceptorResult(JSObject* holder) { |
| 192 lookup_type_ = INTERCEPTOR_TYPE; | 192 lookup_type_ = INTERCEPTOR_TYPE; |
| 193 holder_ = holder; | 193 holder_ = holder; |
| 194 details_ = PropertyDetails(NONE, INTERCEPTOR); | 194 details_ = PropertyDetails(NONE, INTERCEPTOR); |
| 195 } | 195 } |
| 196 | 196 |
| 197 void NotFound() { | 197 void NotFound() { |
| 198 lookup_type_ = NOT_FOUND; | 198 lookup_type_ = NOT_FOUND; |
| 199 } | 199 } |
| 200 | 200 |
| 201 | |
| 202 JSObject* holder() { | 201 JSObject* holder() { |
| 203 ASSERT(IsValid()); | 202 ASSERT(IsValid()); |
| 204 return holder_; | 203 return holder_; |
| 205 } | 204 } |
| 206 | 205 |
| 207 PropertyType type() { | 206 PropertyType type() { |
| 208 ASSERT(IsValid()); | 207 ASSERT(IsValid()); |
| 209 return details_.type(); | 208 return details_.type(); |
| 210 } | 209 } |
| 211 | 210 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 380 |
| 382 // Append a descriptor to this stream. | 381 // Append a descriptor to this stream. |
| 383 void Write(Descriptor* desc); | 382 void Write(Descriptor* desc); |
| 384 // Read a descriptor from the reader and append it to this stream. | 383 // Read a descriptor from the reader and append it to this stream. |
| 385 void WriteFrom(DescriptorReader* reader); | 384 void WriteFrom(DescriptorReader* reader); |
| 386 }; | 385 }; |
| 387 | 386 |
| 388 } } // namespace v8::internal | 387 } } // namespace v8::internal |
| 389 | 388 |
| 390 #endif // V8_PROPERTY_H_ | 389 #endif // V8_PROPERTY_H_ |
| OLD | NEW |