| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 lookup_type_ = DICTIONARY_TYPE; | 199 lookup_type_ = DICTIONARY_TYPE; |
| 200 holder_ = holder; | 200 holder_ = holder; |
| 201 details_ = holder->property_dictionary()->DetailsAt(entry); | 201 details_ = holder->property_dictionary()->DetailsAt(entry); |
| 202 number_ = entry; | 202 number_ = entry; |
| 203 } | 203 } |
| 204 | 204 |
| 205 void HandlerResult() { | 205 void HandlerResult() { |
| 206 lookup_type_ = HANDLER_TYPE; | 206 lookup_type_ = HANDLER_TYPE; |
| 207 holder_ = NULL; | 207 holder_ = NULL; |
| 208 details_ = PropertyDetails(NONE, HANDLER); | 208 details_ = PropertyDetails(NONE, HANDLER); |
| 209 cacheable_ = false; |
| 209 } | 210 } |
| 210 | 211 |
| 211 void InterceptorResult(JSObject* holder) { | 212 void InterceptorResult(JSObject* holder) { |
| 212 lookup_type_ = INTERCEPTOR_TYPE; | 213 lookup_type_ = INTERCEPTOR_TYPE; |
| 213 holder_ = holder; | 214 holder_ = holder; |
| 214 details_ = PropertyDetails(NONE, INTERCEPTOR); | 215 details_ = PropertyDetails(NONE, INTERCEPTOR); |
| 215 } | 216 } |
| 216 | 217 |
| 217 void NotFound() { | 218 void NotFound() { |
| 218 lookup_type_ = NOT_FOUND; | 219 lookup_type_ = NOT_FOUND; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 JSObject* holder_; | 357 JSObject* holder_; |
| 357 int number_; | 358 int number_; |
| 358 bool cacheable_; | 359 bool cacheable_; |
| 359 PropertyDetails details_; | 360 PropertyDetails details_; |
| 360 }; | 361 }; |
| 361 | 362 |
| 362 | 363 |
| 363 } } // namespace v8::internal | 364 } } // namespace v8::internal |
| 364 | 365 |
| 365 #endif // V8_PROPERTY_H_ | 366 #endif // V8_PROPERTY_H_ |
| OLD | NEW |