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

Side by Side Diff: src/objects.cc

Issue 13064003: First steps towards implementing ArrayBuffer &co in V8 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added forgotten tests Created 7 years, 9 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/objects.h ('k') | src/objects-debug.cc » ('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 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 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 FixedArray::BodyDescriptor::IterateBody(this, object_size, v); 1539 FixedArray::BodyDescriptor::IterateBody(this, object_size, v);
1540 break; 1540 break;
1541 case FIXED_DOUBLE_ARRAY_TYPE: 1541 case FIXED_DOUBLE_ARRAY_TYPE:
1542 break; 1542 break;
1543 case JS_OBJECT_TYPE: 1543 case JS_OBJECT_TYPE:
1544 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 1544 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1545 case JS_MODULE_TYPE: 1545 case JS_MODULE_TYPE:
1546 case JS_VALUE_TYPE: 1546 case JS_VALUE_TYPE:
1547 case JS_DATE_TYPE: 1547 case JS_DATE_TYPE:
1548 case JS_ARRAY_TYPE: 1548 case JS_ARRAY_TYPE:
1549 case JS_ARRAY_BUFFER_TYPE:
1549 case JS_SET_TYPE: 1550 case JS_SET_TYPE:
1550 case JS_MAP_TYPE: 1551 case JS_MAP_TYPE:
1551 case JS_WEAK_MAP_TYPE: 1552 case JS_WEAK_MAP_TYPE:
1552 case JS_REGEXP_TYPE: 1553 case JS_REGEXP_TYPE:
1553 case JS_GLOBAL_PROXY_TYPE: 1554 case JS_GLOBAL_PROXY_TYPE:
1554 case JS_GLOBAL_OBJECT_TYPE: 1555 case JS_GLOBAL_OBJECT_TYPE:
1555 case JS_BUILTINS_OBJECT_TYPE: 1556 case JS_BUILTINS_OBJECT_TYPE:
1556 case JS_MESSAGE_OBJECT_TYPE: 1557 case JS_MESSAGE_OBJECT_TYPE:
1557 JSObject::BodyDescriptor::IterateBody(this, object_size, v); 1558 JSObject::BodyDescriptor::IterateBody(this, object_size, v);
1558 break; 1559 break;
(...skipping 12797 matching lines...) Expand 10 before | Expand all | Expand 10 after
14356 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 14357 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
14357 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 14358 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
14358 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 14359 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
14359 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 14360 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
14360 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 14361 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
14361 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 14362 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
14362 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 14363 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
14363 } 14364 }
14364 14365
14365 } } // namespace v8::internal 14366 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698