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

Side by Side Diff: src/snapshot/deserializer.cc

Issue 2247093002: PPC/s390: [wasm] adding case for kAttachedReference in Serializer/Deseriealizer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | src/snapshot/serializer.cc » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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/snapshot/deserializer.h" 5 #include "src/snapshot/deserializer.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/external-reference-table.h" 8 #include "src/external-reference-table.h"
9 #include "src/heap/heap.h" 9 #include "src/heap/heap.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 // Find an external reference and write a pointer to it to the current 642 // Find an external reference and write a pointer to it to the current
643 // object. 643 // object.
644 SINGLE_CASE(kExternalReference, kPlain, kStartOfObject, 0) 644 SINGLE_CASE(kExternalReference, kPlain, kStartOfObject, 0)
645 // Find an external reference and write a pointer to it in the current 645 // Find an external reference and write a pointer to it in the current
646 // code object. 646 // code object.
647 SINGLE_CASE(kExternalReference, kFromCode, kStartOfObject, 0) 647 SINGLE_CASE(kExternalReference, kFromCode, kStartOfObject, 0)
648 // Find an object in the attached references and write a pointer to it to 648 // Find an object in the attached references and write a pointer to it to
649 // the current object. 649 // the current object.
650 SINGLE_CASE(kAttachedReference, kPlain, kStartOfObject, 0) 650 SINGLE_CASE(kAttachedReference, kPlain, kStartOfObject, 0)
651 SINGLE_CASE(kAttachedReference, kPlain, kInnerPointer, 0) 651 SINGLE_CASE(kAttachedReference, kPlain, kInnerPointer, 0)
652 SINGLE_CASE(kAttachedReference, kFromCode, kStartOfObject, 0)
652 SINGLE_CASE(kAttachedReference, kFromCode, kInnerPointer, 0) 653 SINGLE_CASE(kAttachedReference, kFromCode, kInnerPointer, 0)
653 // Find a builtin and write a pointer to it to the current object. 654 // Find a builtin and write a pointer to it to the current object.
654 SINGLE_CASE(kBuiltin, kPlain, kStartOfObject, 0) 655 SINGLE_CASE(kBuiltin, kPlain, kStartOfObject, 0)
655 SINGLE_CASE(kBuiltin, kPlain, kInnerPointer, 0) 656 SINGLE_CASE(kBuiltin, kPlain, kInnerPointer, 0)
656 SINGLE_CASE(kBuiltin, kFromCode, kInnerPointer, 0) 657 SINGLE_CASE(kBuiltin, kFromCode, kInnerPointer, 0)
657 658
658 #undef CASE_STATEMENT 659 #undef CASE_STATEMENT
659 #undef CASE_BODY 660 #undef CASE_BODY
660 #undef ALL_SPACES 661 #undef ALL_SPACES
661 662
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 825
825 default: 826 default:
826 CHECK(false); 827 CHECK(false);
827 } 828 }
828 } 829 }
829 CHECK_EQ(limit, current); 830 CHECK_EQ(limit, current);
830 return true; 831 return true;
831 } 832 }
832 } // namespace internal 833 } // namespace internal
833 } // namespace v8 834 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/snapshot/serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698