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

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

Issue 1069883002: WIP SharedArrayBuffer implementation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merge master Created 5 years, 7 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
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 case FOREIGN_TYPE: 167 case FOREIGN_TYPE:
168 Foreign::cast(this)->ForeignVerify(); 168 Foreign::cast(this)->ForeignVerify();
169 break; 169 break;
170 case SHARED_FUNCTION_INFO_TYPE: 170 case SHARED_FUNCTION_INFO_TYPE:
171 SharedFunctionInfo::cast(this)->SharedFunctionInfoVerify(); 171 SharedFunctionInfo::cast(this)->SharedFunctionInfoVerify();
172 break; 172 break;
173 case JS_MESSAGE_OBJECT_TYPE: 173 case JS_MESSAGE_OBJECT_TYPE:
174 JSMessageObject::cast(this)->JSMessageObjectVerify(); 174 JSMessageObject::cast(this)->JSMessageObjectVerify();
175 break; 175 break;
176 case JS_ARRAY_BUFFER_TYPE: 176 case JS_ARRAY_BUFFER_TYPE:
177 case JS_SHARED_ARRAY_BUFFER_TYPE:
177 JSArrayBuffer::cast(this)->JSArrayBufferVerify(); 178 JSArrayBuffer::cast(this)->JSArrayBufferVerify();
178 break; 179 break;
179 case JS_TYPED_ARRAY_TYPE: 180 case JS_TYPED_ARRAY_TYPE:
181 case JS_SHARED_TYPED_ARRAY_TYPE:
180 JSTypedArray::cast(this)->JSTypedArrayVerify(); 182 JSTypedArray::cast(this)->JSTypedArrayVerify();
181 break; 183 break;
182 case JS_DATA_VIEW_TYPE: 184 case JS_DATA_VIEW_TYPE:
183 JSDataView::cast(this)->JSDataViewVerify(); 185 JSDataView::cast(this)->JSDataViewVerify();
184 break; 186 break;
185 187
186 #define MAKE_STRUCT_CASE(NAME, Name, name) \ 188 #define MAKE_STRUCT_CASE(NAME, Name, name) \
187 case NAME##_TYPE: \ 189 case NAME##_TYPE: \
188 Name::cast(this)->Name##Verify(); \ 190 Name::cast(this)->Name##Verify(); \
189 break; 191 break;
(...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 ? it.rinfo()->target_cell() 1284 ? it.rinfo()->target_cell()
1283 : it.rinfo()->target_object(); 1285 : it.rinfo()->target_object();
1284 CHECK(!CanLeak(target, heap, skip_weak_cell)); 1286 CHECK(!CanLeak(target, heap, skip_weak_cell));
1285 } 1287 }
1286 } 1288 }
1287 1289
1288 1290
1289 #endif // DEBUG 1291 #endif // DEBUG
1290 1292
1291 } } // namespace v8::internal 1293 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698