| 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 5109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5120 static_cast<AccessorPair*>(RawGetValue(index)); | 5120 static_cast<AccessorPair*>(RawGetValue(index)); |
| 5121 Object* accessor; | 5121 Object* accessor; |
| 5122 if ((raw_index & 1) == 0) { | 5122 if ((raw_index & 1) == 0) { |
| 5123 accessor = accessors->setter(); | 5123 accessor = accessors->setter(); |
| 5124 } else { | 5124 } else { |
| 5125 ++index; | 5125 ++index; |
| 5126 accessor = accessors->getter(); | 5126 accessor = accessors->getter(); |
| 5127 } | 5127 } |
| 5128 ++raw_index; | 5128 ++raw_index; |
| 5129 if (accessor->IsMap()) { | 5129 if (accessor->IsMap()) { |
| 5130 *DescriptorArrayHeader() = Smi::FromInt(raw_index); | 5130 *DescriptorArrayHeader() = Smi::FromInt(raw_index); |
| 5131 return static_cast<Map*>(accessor); | 5131 return static_cast<Map*>(accessor); |
| 5132 } | 5132 } |
| 5133 break; | 5133 break; |
| 5134 } | 5134 } |
| 5135 case NORMAL: | 5135 case NORMAL: |
| 5136 case FIELD: | 5136 case FIELD: |
| 5137 case CONSTANT_FUNCTION: | 5137 case CONSTANT_FUNCTION: |
| 5138 case HANDLER: | 5138 case HANDLER: |
| 5139 case INTERCEPTOR: | 5139 case INTERCEPTOR: |
| 5140 case NULL_DESCRIPTOR: | 5140 case NULL_DESCRIPTOR: |
| (...skipping 8090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13231 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 13231 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
| 13232 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 13232 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
| 13233 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 13233 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
| 13234 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 13234 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
| 13235 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 13235 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
| 13236 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 13236 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
| 13237 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 13237 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
| 13238 } | 13238 } |
| 13239 | 13239 |
| 13240 } } // namespace v8::internal | 13240 } } // namespace v8::internal |
| OLD | NEW |