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

Side by Side Diff: src/serialize.h

Issue 645163009: Second compile fix to r24826. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | 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 #ifndef V8_SERIALIZE_H_ 5 #ifndef V8_SERIALIZE_H_
6 #define V8_SERIALIZE_H_ 6 #define V8_SERIALIZE_H_
7 7
8 #include "src/compiler.h" 8 #include "src/compiler.h"
9 #include "src/hashmap.h" 9 #include "src/hashmap.h"
10 #include "src/heap-profiler.h" 10 #include "src/heap-profiler.h"
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 virtual void SerializeObject(HeapObject* o, HowToCode how_to_code, 660 virtual void SerializeObject(HeapObject* o, HowToCode how_to_code,
661 WhereToPoint where_to_point, int skip); 661 WhereToPoint where_to_point, int skip);
662 void SerializeWeakReferences(); 662 void SerializeWeakReferences();
663 void Serialize() { 663 void Serialize() {
664 SerializeStrongReferences(); 664 SerializeStrongReferences();
665 SerializeWeakReferences(); 665 SerializeWeakReferences();
666 Pad(); 666 Pad();
667 } 667 }
668 668
669 private: 669 private:
670 int root_index_wave_front_; 670 intptr_t root_index_wave_front_;
671 DISALLOW_COPY_AND_ASSIGN(StartupSerializer); 671 DISALLOW_COPY_AND_ASSIGN(StartupSerializer);
672 }; 672 };
673 673
674 674
675 class CodeSerializer : public Serializer { 675 class CodeSerializer : public Serializer {
676 public: 676 public:
677 static ScriptData* Serialize(Isolate* isolate, 677 static ScriptData* Serialize(Isolate* isolate,
678 Handle<SharedFunctionInfo> info, 678 Handle<SharedFunctionInfo> info,
679 Handle<String> source); 679 Handle<String> source);
680 680
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 // Following the header, we store, in sequential order 827 // Following the header, we store, in sequential order
828 // - code stub keys 828 // - code stub keys
829 // - serialization payload 829 // - serialization payload
830 830
831 ScriptData* script_data_; 831 ScriptData* script_data_;
832 bool owns_script_data_; 832 bool owns_script_data_;
833 }; 833 };
834 } } // namespace v8::internal 834 } } // namespace v8::internal
835 835
836 #endif // V8_SERIALIZE_H_ 836 #endif // V8_SERIALIZE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698