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

Side by Side Diff: src/objects.h

Issue 6725030: [Arguments] Introduce a new backing store for non-strict arguments objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 NORMAL_DELETION, 1325 NORMAL_DELETION,
1326 STRICT_DELETION, 1326 STRICT_DELETION,
1327 FORCE_DELETION 1327 FORCE_DELETION
1328 }; 1328 };
1329 1329
1330 enum ElementsKind { 1330 enum ElementsKind {
1331 // The only "fast" kind. 1331 // The only "fast" kind.
1332 FAST_ELEMENTS, 1332 FAST_ELEMENTS,
1333 // All the kinds below are "slow". 1333 // All the kinds below are "slow".
1334 DICTIONARY_ELEMENTS, 1334 DICTIONARY_ELEMENTS,
1335 NON_STRICT_ARGUMENTS_ELEMENTS,
1335 EXTERNAL_BYTE_ELEMENTS, 1336 EXTERNAL_BYTE_ELEMENTS,
1336 EXTERNAL_UNSIGNED_BYTE_ELEMENTS, 1337 EXTERNAL_UNSIGNED_BYTE_ELEMENTS,
1337 EXTERNAL_SHORT_ELEMENTS, 1338 EXTERNAL_SHORT_ELEMENTS,
1338 EXTERNAL_UNSIGNED_SHORT_ELEMENTS, 1339 EXTERNAL_UNSIGNED_SHORT_ELEMENTS,
1339 EXTERNAL_INT_ELEMENTS, 1340 EXTERNAL_INT_ELEMENTS,
1340 EXTERNAL_UNSIGNED_INT_ELEMENTS, 1341 EXTERNAL_UNSIGNED_INT_ELEMENTS,
1341 EXTERNAL_FLOAT_ELEMENTS, 1342 EXTERNAL_FLOAT_ELEMENTS,
1342 EXTERNAL_PIXEL_ELEMENTS 1343 EXTERNAL_PIXEL_ELEMENTS
1343 }; 1344 };
1344 1345
(...skipping 5299 matching lines...) Expand 10 before | Expand all | Expand 10 after
6644 } else { 6645 } else {
6645 value &= ~(1 << bit_position); 6646 value &= ~(1 << bit_position);
6646 } 6647 }
6647 return value; 6648 return value;
6648 } 6649 }
6649 }; 6650 };
6650 6651
6651 } } // namespace v8::internal 6652 } } // namespace v8::internal
6652 6653
6653 #endif // V8_OBJECTS_H_ 6654 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698