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 9844002: Implement rudimentary module linking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 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 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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 } 1331 }
1332 1332
1333 switch (type) { 1333 switch (type) {
1334 case FIXED_ARRAY_TYPE: 1334 case FIXED_ARRAY_TYPE:
1335 FixedArray::BodyDescriptor::IterateBody(this, object_size, v); 1335 FixedArray::BodyDescriptor::IterateBody(this, object_size, v);
1336 break; 1336 break;
1337 case FIXED_DOUBLE_ARRAY_TYPE: 1337 case FIXED_DOUBLE_ARRAY_TYPE:
1338 break; 1338 break;
1339 case JS_OBJECT_TYPE: 1339 case JS_OBJECT_TYPE:
1340 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 1340 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1341 case JS_MODULE_TYPE:
1341 case JS_VALUE_TYPE: 1342 case JS_VALUE_TYPE:
1342 case JS_DATE_TYPE: 1343 case JS_DATE_TYPE:
1343 case JS_ARRAY_TYPE: 1344 case JS_ARRAY_TYPE:
1344 case JS_SET_TYPE: 1345 case JS_SET_TYPE:
1345 case JS_MAP_TYPE: 1346 case JS_MAP_TYPE:
1346 case JS_WEAK_MAP_TYPE: 1347 case JS_WEAK_MAP_TYPE:
1347 case JS_REGEXP_TYPE: 1348 case JS_REGEXP_TYPE:
1348 case JS_GLOBAL_PROXY_TYPE: 1349 case JS_GLOBAL_PROXY_TYPE:
1349 case JS_GLOBAL_OBJECT_TYPE: 1350 case JS_GLOBAL_OBJECT_TYPE:
1350 case JS_BUILTINS_OBJECT_TYPE: 1351 case JS_BUILTINS_OBJECT_TYPE:
(...skipping 11612 matching lines...) Expand 10 before | Expand all | Expand 10 after
12963 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER); 12964 set_year(Smi::FromInt(year), SKIP_WRITE_BARRIER);
12964 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER); 12965 set_month(Smi::FromInt(month), SKIP_WRITE_BARRIER);
12965 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER); 12966 set_day(Smi::FromInt(day), SKIP_WRITE_BARRIER);
12966 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER); 12967 set_weekday(Smi::FromInt(weekday), SKIP_WRITE_BARRIER);
12967 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER); 12968 set_hour(Smi::FromInt(hour), SKIP_WRITE_BARRIER);
12968 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER); 12969 set_min(Smi::FromInt(min), SKIP_WRITE_BARRIER);
12969 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER); 12970 set_sec(Smi::FromInt(sec), SKIP_WRITE_BARRIER);
12970 } 12971 }
12971 12972
12972 } } // namespace v8::internal 12973 } } // 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