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

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

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 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
« no previous file with comments | « src/objects.h ('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/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/disassembler.h" 9 #include "src/disassembler.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 557
558 void SharedFunctionInfo::SharedFunctionInfoVerify() { 558 void SharedFunctionInfo::SharedFunctionInfoVerify() {
559 CHECK(IsSharedFunctionInfo()); 559 CHECK(IsSharedFunctionInfo());
560 VerifyObjectField(kNameOffset); 560 VerifyObjectField(kNameOffset);
561 VerifyObjectField(kCodeOffset); 561 VerifyObjectField(kCodeOffset);
562 VerifyObjectField(kOptimizedCodeMapOffset); 562 VerifyObjectField(kOptimizedCodeMapOffset);
563 VerifyObjectField(kFeedbackMetadataOffset); 563 VerifyObjectField(kFeedbackMetadataOffset);
564 VerifyObjectField(kScopeInfoOffset); 564 VerifyObjectField(kScopeInfoOffset);
565 VerifyObjectField(kInstanceClassNameOffset); 565 VerifyObjectField(kInstanceClassNameOffset);
566 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() || 566 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() ||
567 HasBytecodeArray()); 567 HasBytecodeArray() || HasAsmWasmData());
568 VerifyObjectField(kFunctionDataOffset); 568 VerifyObjectField(kFunctionDataOffset);
569 VerifyObjectField(kScriptOffset); 569 VerifyObjectField(kScriptOffset);
570 VerifyObjectField(kDebugInfoOffset); 570 VerifyObjectField(kDebugInfoOffset);
571 CHECK(function_identifier()->IsUndefined(GetIsolate()) || 571 CHECK(function_identifier()->IsUndefined(GetIsolate()) ||
572 HasBuiltinFunctionId() || HasInferredName()); 572 HasBuiltinFunctionId() || HasInferredName());
573 VerifyObjectField(kFunctionIdentifierOffset); 573 VerifyObjectField(kFunctionIdentifierOffset);
574 } 574 }
575 575
576 576
577 void JSGlobalProxy::JSGlobalProxyVerify() { 577 void JSGlobalProxy::JSGlobalProxyVerify() {
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 1333
1334 // Both are done at the same time. 1334 // Both are done at the same time.
1335 CHECK_EQ(new_it.done(), old_it.done()); 1335 CHECK_EQ(new_it.done(), old_it.done());
1336 } 1336 }
1337 1337
1338 1338
1339 #endif // DEBUG 1339 #endif // DEBUG
1340 1340
1341 } // namespace internal 1341 } // namespace internal
1342 } // namespace v8 1342 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698