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

Side by Side Diff: src/objects-visiting.cc

Issue 7529007: Preliminary Harmony weak maps API implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make sure the constructor can be called directly. Created 9 years, 4 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-printer.cc ('k') | src/runtime.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 return kVisitDataObjectGeneric; 108 return kVisitDataObjectGeneric;
109 109
110 case JS_OBJECT_TYPE: 110 case JS_OBJECT_TYPE:
111 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 111 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
112 case JS_VALUE_TYPE: 112 case JS_VALUE_TYPE:
113 case JS_ARRAY_TYPE: 113 case JS_ARRAY_TYPE:
114 case JS_GLOBAL_PROXY_TYPE: 114 case JS_GLOBAL_PROXY_TYPE:
115 case JS_GLOBAL_OBJECT_TYPE: 115 case JS_GLOBAL_OBJECT_TYPE:
116 case JS_BUILTINS_OBJECT_TYPE: 116 case JS_BUILTINS_OBJECT_TYPE:
117 case JS_MESSAGE_OBJECT_TYPE: 117 case JS_MESSAGE_OBJECT_TYPE:
118 case JS_WEAK_MAP_TYPE:
118 return GetVisitorIdForSize(kVisitJSObject, 119 return GetVisitorIdForSize(kVisitJSObject,
119 kVisitJSObjectGeneric, 120 kVisitJSObjectGeneric,
120 instance_size); 121 instance_size);
121 122
122 case JS_FUNCTION_TYPE: 123 case JS_FUNCTION_TYPE:
123 return kVisitJSFunction; 124 return kVisitJSFunction;
124 125
125 case HEAP_NUMBER_TYPE: 126 case HEAP_NUMBER_TYPE:
126 case EXTERNAL_PIXEL_ARRAY_TYPE: 127 case EXTERNAL_PIXEL_ARRAY_TYPE:
127 case EXTERNAL_BYTE_ARRAY_TYPE: 128 case EXTERNAL_BYTE_ARRAY_TYPE:
(...skipping 16 matching lines...) Expand all
144 kVisitStructGeneric, 145 kVisitStructGeneric,
145 instance_size); 146 instance_size);
146 147
147 default: 148 default:
148 UNREACHABLE(); 149 UNREACHABLE();
149 return kVisitorIdCount; 150 return kVisitorIdCount;
150 } 151 }
151 } 152 }
152 153
153 } } // namespace v8::internal 154 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698