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

Side by Side Diff: src/objects.cc

Issue 13975012: First cut at impementing ES6 TypedArrays in V8. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: CR feedback Created 7 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/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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1544 break; 1544 break;
1545 case FIXED_DOUBLE_ARRAY_TYPE: 1545 case FIXED_DOUBLE_ARRAY_TYPE:
1546 break; 1546 break;
1547 case JS_OBJECT_TYPE: 1547 case JS_OBJECT_TYPE:
1548 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 1548 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1549 case JS_MODULE_TYPE: 1549 case JS_MODULE_TYPE:
1550 case JS_VALUE_TYPE: 1550 case JS_VALUE_TYPE:
1551 case JS_DATE_TYPE: 1551 case JS_DATE_TYPE:
1552 case JS_ARRAY_TYPE: 1552 case JS_ARRAY_TYPE:
1553 case JS_ARRAY_BUFFER_TYPE: 1553 case JS_ARRAY_BUFFER_TYPE:
1554 case JS_TYPED_ARRAY_TYPE:
1554 case JS_SET_TYPE: 1555 case JS_SET_TYPE:
1555 case JS_MAP_TYPE: 1556 case JS_MAP_TYPE:
1556 case JS_WEAK_MAP_TYPE: 1557 case JS_WEAK_MAP_TYPE:
1557 case JS_REGEXP_TYPE: 1558 case JS_REGEXP_TYPE:
1558 case JS_GLOBAL_PROXY_TYPE: 1559 case JS_GLOBAL_PROXY_TYPE:
1559 case JS_GLOBAL_OBJECT_TYPE: 1560 case JS_GLOBAL_OBJECT_TYPE:
1560 case JS_BUILTINS_OBJECT_TYPE: 1561 case JS_BUILTINS_OBJECT_TYPE:
1561 case JS_MESSAGE_OBJECT_TYPE: 1562 case JS_MESSAGE_OBJECT_TYPE:
1562 JSObject::BodyDescriptor::IterateBody(this, object_size, v); 1563 JSObject::BodyDescriptor::IterateBody(this, object_size, v);
1563 break; 1564 break;
(...skipping 12909 matching lines...) Expand 10 before | Expand all | Expand 10 after
14473 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 14474 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
14474 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 14475 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
14475 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 14476 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
14476 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 14477 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
14477 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 14478 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
14478 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 14479 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
14479 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 14480 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
14480 } 14481 }
14481 14482
14482 } } // namespace v8::internal 14483 } } // 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