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

Side by Side Diff: src/serialize.h

Issue 331633002: Revert "Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen"" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
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 #ifndef V8_SERIALIZE_H_ 5 #ifndef V8_SERIALIZE_H_
6 #define V8_SERIALIZE_H_ 6 #define V8_SERIALIZE_H_
7 7
8 #include "src/hashmap.h" 8 #include "src/hashmap.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 16 matching lines...) Expand all
27 LAZY_DEOPTIMIZATION 27 LAZY_DEOPTIMIZATION
28 }; 28 };
29 29
30 const int kTypeCodeCount = LAZY_DEOPTIMIZATION + 1; 30 const int kTypeCodeCount = LAZY_DEOPTIMIZATION + 1;
31 const int kFirstTypeCode = UNCLASSIFIED; 31 const int kFirstTypeCode = UNCLASSIFIED;
32 32
33 const int kReferenceIdBits = 16; 33 const int kReferenceIdBits = 16;
34 const int kReferenceIdMask = (1 << kReferenceIdBits) - 1; 34 const int kReferenceIdMask = (1 << kReferenceIdBits) - 1;
35 const int kReferenceTypeShift = kReferenceIdBits; 35 const int kReferenceTypeShift = kReferenceIdBits;
36 36
37 const int kDeoptTableSerializeEntryCount = 12; 37 const int kDeoptTableSerializeEntryCount = 64;
38 38
39 // ExternalReferenceTable is a helper class that defines the relationship 39 // ExternalReferenceTable is a helper class that defines the relationship
40 // between external references and their encodings. It is used to build 40 // between external references and their encodings. It is used to build
41 // hashmaps in ExternalReferenceEncoder and ExternalReferenceDecoder. 41 // hashmaps in ExternalReferenceEncoder and ExternalReferenceDecoder.
42 class ExternalReferenceTable { 42 class ExternalReferenceTable {
43 public: 43 public:
44 static ExternalReferenceTable* instance(Isolate* isolate); 44 static ExternalReferenceTable* instance(Isolate* isolate);
45 45
46 ~ExternalReferenceTable() { } 46 ~ExternalReferenceTable() { }
47 47
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 private: 629 private:
630 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) { 630 virtual bool ShouldBeInThePartialSnapshotCache(HeapObject* o) {
631 return false; 631 return false;
632 } 632 }
633 }; 633 };
634 634
635 635
636 } } // namespace v8::internal 636 } } // namespace v8::internal
637 637
638 #endif // V8_SERIALIZE_H_ 638 #endif // V8_SERIALIZE_H_
OLDNEW
« src/objects.h ('K') | « src/runtime.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698