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 7374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7385 } else if (!getter->IsTheHole()) { | 7385 } else if (!getter->IsTheHole()) { |
7386 keep_entry = true; | 7386 keep_entry = true; |
7387 } | 7387 } |
7388 Object* setter = accessors->setter(); | 7388 Object* setter = accessors->setter(); |
7389 if (setter->IsMap()) { | 7389 if (setter->IsMap()) { |
7390 if (ClearBackPointer(heap, setter)) { | 7390 if (ClearBackPointer(heap, setter)) { |
7391 accessors->set_setter(heap->the_hole_value()); | 7391 accessors->set_setter(heap->the_hole_value()); |
7392 } else { | 7392 } else { |
7393 keep_entry = true; | 7393 keep_entry = true; |
7394 } | 7394 } |
7395 } else if (!getter->IsTheHole()) { | 7395 } else if (!setter->IsTheHole()) { |
7396 keep_entry = true; | 7396 keep_entry = true; |
7397 } | 7397 } |
7398 } else { | 7398 } else { |
7399 keep_entry = true; | 7399 keep_entry = true; |
7400 } | 7400 } |
7401 break; | 7401 break; |
7402 } | 7402 } |
7403 case NORMAL: | 7403 case NORMAL: |
7404 case FIELD: | 7404 case FIELD: |
7405 case CONSTANT_FUNCTION: | 7405 case CONSTANT_FUNCTION: |
(...skipping 5870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13276 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); | 13276 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); |
13277 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); | 13277 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); |
13278 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); | 13278 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); |
13279 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); | 13279 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); |
13280 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); | 13280 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); |
13281 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); | 13281 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); |
13282 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); | 13282 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); |
13283 } | 13283 } |
13284 | 13284 |
13285 } } // namespace v8::internal | 13285 } } // namespace v8::internal |
OLD | NEW |