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

Side by Side Diff: src/types.cc

Issue 19678023: ES6: Implement WeakSet (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reitveld is acting up Created 7 years, 5 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 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 case JS_MODULE_TYPE: 173 case JS_MODULE_TYPE:
174 case JS_GLOBAL_OBJECT_TYPE: 174 case JS_GLOBAL_OBJECT_TYPE:
175 case JS_BUILTINS_OBJECT_TYPE: 175 case JS_BUILTINS_OBJECT_TYPE:
176 case JS_GLOBAL_PROXY_TYPE: 176 case JS_GLOBAL_PROXY_TYPE:
177 case JS_ARRAY_BUFFER_TYPE: 177 case JS_ARRAY_BUFFER_TYPE:
178 case JS_TYPED_ARRAY_TYPE: 178 case JS_TYPED_ARRAY_TYPE:
179 case JS_DATA_VIEW_TYPE: 179 case JS_DATA_VIEW_TYPE:
180 case JS_SET_TYPE: 180 case JS_SET_TYPE:
181 case JS_MAP_TYPE: 181 case JS_MAP_TYPE:
182 case JS_WEAK_MAP_TYPE: 182 case JS_WEAK_MAP_TYPE:
183 case JS_WEAK_SET_TYPE:
183 if (map->is_undetectable()) return kUndetectable; 184 if (map->is_undetectable()) return kUndetectable;
184 return kOtherObject; 185 return kOtherObject;
185 case JS_ARRAY_TYPE: 186 case JS_ARRAY_TYPE:
186 return kArray; 187 return kArray;
187 case JS_FUNCTION_TYPE: 188 case JS_FUNCTION_TYPE:
188 return kFunction; 189 return kFunction;
189 case JS_REGEXP_TYPE: 190 case JS_REGEXP_TYPE:
190 return kRegExp; 191 return kRegExp;
191 case JS_PROXY_TYPE: 192 case JS_PROXY_TYPE:
192 case JS_FUNCTION_PROXY_TYPE: 193 case JS_FUNCTION_PROXY_TYPE:
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 if (i > 0) PrintF(out, ","); 527 if (i > 0) PrintF(out, ",");
527 type_i->TypePrint(out); 528 type_i->TypePrint(out);
528 } 529 }
529 PrintF(out, "}"); 530 PrintF(out, "}");
530 } 531 }
531 } 532 }
532 #endif 533 #endif
533 534
534 535
535 } } // namespace v8::internal 536 } } // namespace v8::internal
OLDNEW
« src/objects-printer.cc ('K') | « src/runtime.cc ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698