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

Side by Side Diff: src/objects.cc

Issue 15943002: v8 typed arrays: add DataView type (Closed)
Patch Set: v8 typed arrays: add DataView type, v2 Created 7 years, 6 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
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 case FIXED_DOUBLE_ARRAY_TYPE: 1579 case FIXED_DOUBLE_ARRAY_TYPE:
1580 break; 1580 break;
1581 case JS_OBJECT_TYPE: 1581 case JS_OBJECT_TYPE:
1582 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 1582 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1583 case JS_GENERATOR_OBJECT_TYPE: 1583 case JS_GENERATOR_OBJECT_TYPE:
1584 case JS_MODULE_TYPE: 1584 case JS_MODULE_TYPE:
1585 case JS_VALUE_TYPE: 1585 case JS_VALUE_TYPE:
1586 case JS_DATE_TYPE: 1586 case JS_DATE_TYPE:
1587 case JS_ARRAY_TYPE: 1587 case JS_ARRAY_TYPE:
1588 case JS_ARRAY_BUFFER_TYPE: 1588 case JS_ARRAY_BUFFER_TYPE:
1589 case JS_DATA_VIEW_TYPE:
1589 case JS_TYPED_ARRAY_TYPE: 1590 case JS_TYPED_ARRAY_TYPE:
1590 case JS_SET_TYPE: 1591 case JS_SET_TYPE:
1591 case JS_MAP_TYPE: 1592 case JS_MAP_TYPE:
1592 case JS_WEAK_MAP_TYPE: 1593 case JS_WEAK_MAP_TYPE:
1593 case JS_REGEXP_TYPE: 1594 case JS_REGEXP_TYPE:
1594 case JS_GLOBAL_PROXY_TYPE: 1595 case JS_GLOBAL_PROXY_TYPE:
1595 case JS_GLOBAL_OBJECT_TYPE: 1596 case JS_GLOBAL_OBJECT_TYPE:
1596 case JS_BUILTINS_OBJECT_TYPE: 1597 case JS_BUILTINS_OBJECT_TYPE:
1597 case JS_MESSAGE_OBJECT_TYPE: 1598 case JS_MESSAGE_OBJECT_TYPE:
1598 JSObject::BodyDescriptor::IterateBody(this, object_size, v); 1599 JSObject::BodyDescriptor::IterateBody(this, object_size, v);
(...skipping 14038 matching lines...) Expand 10 before | Expand all | Expand 10 after
15637 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 15638 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
15638 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 15639 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
15639 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 15640 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
15640 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 15641 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
15641 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 15642 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
15642 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 15643 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
15643 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 15644 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
15644 } 15645 }
15645 15646
15646 } } // namespace v8::internal 15647 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698