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

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: mrege Created 4 years, 6 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 566
567 void SharedFunctionInfo::SharedFunctionInfoVerify() { 567 void SharedFunctionInfo::SharedFunctionInfoVerify() {
568 CHECK(IsSharedFunctionInfo()); 568 CHECK(IsSharedFunctionInfo());
569 VerifyObjectField(kNameOffset); 569 VerifyObjectField(kNameOffset);
570 VerifyObjectField(kCodeOffset); 570 VerifyObjectField(kCodeOffset);
571 VerifyObjectField(kOptimizedCodeMapOffset); 571 VerifyObjectField(kOptimizedCodeMapOffset);
572 VerifyObjectField(kFeedbackMetadataOffset); 572 VerifyObjectField(kFeedbackMetadataOffset);
573 VerifyObjectField(kScopeInfoOffset); 573 VerifyObjectField(kScopeInfoOffset);
574 VerifyObjectField(kInstanceClassNameOffset); 574 VerifyObjectField(kInstanceClassNameOffset);
575 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() || 575 CHECK(function_data()->IsUndefined(GetIsolate()) || IsApiFunction() ||
576 HasBuiltinFunctionId() || HasBytecodeArray()); 576 HasBuiltinFunctionId() || HasBytecodeArray() || HasAsmWasmData());
Michael Starzinger 2016/06/13 14:10:43 nit: I know this is not part of your change, but t
bradnelson 2016/06/27 07:56:10 Has gone away since.
577 VerifyObjectField(kFunctionDataOffset); 577 VerifyObjectField(kFunctionDataOffset);
578 VerifyObjectField(kScriptOffset); 578 VerifyObjectField(kScriptOffset);
579 VerifyObjectField(kDebugInfoOffset); 579 VerifyObjectField(kDebugInfoOffset);
580 } 580 }
581 581
582 582
583 void JSGlobalProxy::JSGlobalProxyVerify() { 583 void JSGlobalProxy::JSGlobalProxyVerify() {
584 CHECK(IsJSGlobalProxy()); 584 CHECK(IsJSGlobalProxy());
585 JSObjectVerify(); 585 JSObjectVerify();
586 VerifyObjectField(JSGlobalProxy::kNativeContextOffset); 586 VerifyObjectField(JSGlobalProxy::kNativeContextOffset);
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 1323
1324 // Both are done at the same time. 1324 // Both are done at the same time.
1325 CHECK_EQ(new_it.done(), old_it.done()); 1325 CHECK_EQ(new_it.done(), old_it.done());
1326 } 1326 }
1327 1327
1328 1328
1329 #endif // DEBUG 1329 #endif // DEBUG
1330 1330
1331 } // namespace internal 1331 } // namespace internal
1332 } // namespace v8 1332 } // namespace v8
OLDNEW
« src/builtins.cc ('K') | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698