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

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
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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 568
569 void SharedFunctionInfo::SharedFunctionInfoVerify() { 569 void SharedFunctionInfo::SharedFunctionInfoVerify() {
570 CHECK(IsSharedFunctionInfo()); 570 CHECK(IsSharedFunctionInfo());
571 VerifyObjectField(kNameOffset); 571 VerifyObjectField(kNameOffset);
572 VerifyObjectField(kCodeOffset); 572 VerifyObjectField(kCodeOffset);
573 VerifyObjectField(kOptimizedCodeMapOffset); 573 VerifyObjectField(kOptimizedCodeMapOffset);
574 VerifyObjectField(kFeedbackMetadataOffset); 574 VerifyObjectField(kFeedbackMetadataOffset);
575 VerifyObjectField(kScopeInfoOffset); 575 VerifyObjectField(kScopeInfoOffset);
576 VerifyObjectField(kInstanceClassNameOffset); 576 VerifyObjectField(kInstanceClassNameOffset);
577 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() || 577 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() ||
578 HasBytecodeArray()); 578 HasBytecodeArray() || HasAsmWasmData());
579 VerifyObjectField(kFunctionDataOffset); 579 VerifyObjectField(kFunctionDataOffset);
580 VerifyObjectField(kScriptOffset); 580 VerifyObjectField(kScriptOffset);
581 VerifyObjectField(kDebugInfoOffset); 581 VerifyObjectField(kDebugInfoOffset);
582 CHECK(function_identifier()->IsUndefined(GetIsolate()) || 582 CHECK(function_identifier()->IsUndefined(GetIsolate()) ||
583 HasBuiltinFunctionId() || HasInferredName()); 583 HasBuiltinFunctionId() || HasInferredName());
584 VerifyObjectField(kFunctionIdentifierOffset); 584 VerifyObjectField(kFunctionIdentifierOffset);
585 } 585 }
586 586
587 587
588 void JSGlobalProxy::JSGlobalProxyVerify() { 588 void JSGlobalProxy::JSGlobalProxyVerify() {
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 1328
1329 // Both are done at the same time. 1329 // Both are done at the same time.
1330 CHECK_EQ(new_it.done(), old_it.done()); 1330 CHECK_EQ(new_it.done(), old_it.done());
1331 } 1331 }
1332 1332
1333 1333
1334 #endif // DEBUG 1334 #endif // DEBUG
1335 1335
1336 } // namespace internal 1336 } // namespace internal
1337 } // namespace v8 1337 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698