Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: src/property.h

Issue 10105026: Version 3.10.3 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/profile-generator-inl.h ('k') | src/regexp.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 isolate_->SetTopLookupResult(next_); 207 isolate_->SetTopLookupResult(next_);
208 } 208 }
209 209
210 void DescriptorResult(JSObject* holder, PropertyDetails details, int number) { 210 void DescriptorResult(JSObject* holder, PropertyDetails details, int number) {
211 lookup_type_ = DESCRIPTOR_TYPE; 211 lookup_type_ = DESCRIPTOR_TYPE;
212 holder_ = holder; 212 holder_ = holder;
213 details_ = details; 213 details_ = details;
214 number_ = number; 214 number_ = number;
215 } 215 }
216 216
217 void DescriptorResult(JSObject* holder, Smi* details, int number) {
218 lookup_type_ = DESCRIPTOR_TYPE;
219 holder_ = holder;
220 details_ = PropertyDetails(details);
221 number_ = number;
222 }
223
224 void ConstantResult(JSObject* holder) { 217 void ConstantResult(JSObject* holder) {
225 lookup_type_ = CONSTANT_TYPE; 218 lookup_type_ = CONSTANT_TYPE;
226 holder_ = holder; 219 holder_ = holder;
227 details_ = 220 details_ =
228 PropertyDetails(static_cast<PropertyAttributes>(DONT_ENUM | 221 PropertyDetails(static_cast<PropertyAttributes>(DONT_ENUM |
229 DONT_DELETE), 222 DONT_DELETE),
230 CALLBACKS); 223 CALLBACKS);
231 number_ = -1; 224 number_ = -1;
232 } 225 }
233 226
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 JSReceiver* holder_; 393 JSReceiver* holder_;
401 int number_; 394 int number_;
402 bool cacheable_; 395 bool cacheable_;
403 PropertyDetails details_; 396 PropertyDetails details_;
404 }; 397 };
405 398
406 399
407 } } // namespace v8::internal 400 } } // namespace v8::internal
408 401
409 #endif // V8_PROPERTY_H_ 402 #endif // V8_PROPERTY_H_
OLDNEW
« no previous file with comments | « src/profile-generator-inl.h ('k') | src/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698