| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 void DictionaryResult(JSObject* holder, int entry) { | 218 void DictionaryResult(JSObject* holder, int entry) { |
| 219 lookup_type_ = DICTIONARY_TYPE; | 219 lookup_type_ = DICTIONARY_TYPE; |
| 220 holder_ = holder; | 220 holder_ = holder; |
| 221 details_ = holder->property_dictionary()->DetailsAt(entry); | 221 details_ = holder->property_dictionary()->DetailsAt(entry); |
| 222 number_ = entry; | 222 number_ = entry; |
| 223 } | 223 } |
| 224 | 224 |
| 225 void HandlerResult(JSProxy* proxy) { | 225 void HandlerResult(JSProxy* proxy) { |
| 226 lookup_type_ = HANDLER_TYPE; | 226 lookup_type_ = HANDLER_TYPE; |
| 227 holder_ = proxy; | 227 holder_ = proxy; |
| 228 details_ = PropertyDetails(NONE, HANDLER, Representation::None()); | 228 details_ = PropertyDetails(NONE, HANDLER, Representation::Tagged()); |
| 229 cacheable_ = false; | 229 cacheable_ = false; |
| 230 } | 230 } |
| 231 | 231 |
| 232 void InterceptorResult(JSObject* holder) { | 232 void InterceptorResult(JSObject* holder) { |
| 233 lookup_type_ = INTERCEPTOR_TYPE; | 233 lookup_type_ = INTERCEPTOR_TYPE; |
| 234 holder_ = holder; | 234 holder_ = holder; |
| 235 details_ = PropertyDetails(NONE, INTERCEPTOR, Representation::None()); | 235 details_ = PropertyDetails(NONE, INTERCEPTOR, Representation::Tagged()); |
| 236 } | 236 } |
| 237 | 237 |
| 238 void NotFound() { | 238 void NotFound() { |
| 239 lookup_type_ = NOT_FOUND; | 239 lookup_type_ = NOT_FOUND; |
| 240 details_ = PropertyDetails(NONE, NONEXISTENT, Representation::None()); | 240 details_ = PropertyDetails(NONE, NONEXISTENT, Representation::None()); |
| 241 holder_ = NULL; | 241 holder_ = NULL; |
| 242 } | 242 } |
| 243 | 243 |
| 244 JSObject* holder() { | 244 JSObject* holder() { |
| 245 ASSERT(IsFound()); | 245 ASSERT(IsFound()); |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 JSReceiver* holder_; | 502 JSReceiver* holder_; |
| 503 int number_; | 503 int number_; |
| 504 bool cacheable_; | 504 bool cacheable_; |
| 505 PropertyDetails details_; | 505 PropertyDetails details_; |
| 506 }; | 506 }; |
| 507 | 507 |
| 508 | 508 |
| 509 } } // namespace v8::internal | 509 } } // namespace v8::internal |
| 510 | 510 |
| 511 #endif // V8_PROPERTY_H_ | 511 #endif // V8_PROPERTY_H_ |
| OLD | NEW |