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

Side by Side Diff: src/objects.h

Issue 23874010: build fix for 16520 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 8708 matching lines...) Expand 10 before | Expand all | Expand 10 after
8719 // on gc. It provides two ways for the gc to update instances, either 8719 // on gc. It provides two ways for the gc to update instances, either
8720 // iterating or updating after gc. 8720 // iterating or updating after gc.
8721 class Relocatable BASE_EMBEDDED { 8721 class Relocatable BASE_EMBEDDED {
8722 public: 8722 public:
8723 explicit inline Relocatable(Isolate* isolate); 8723 explicit inline Relocatable(Isolate* isolate);
8724 inline virtual ~Relocatable(); 8724 inline virtual ~Relocatable();
8725 virtual void IterateInstance(ObjectVisitor* v) { } 8725 virtual void IterateInstance(ObjectVisitor* v) { }
8726 virtual void PostGarbageCollection() { } 8726 virtual void PostGarbageCollection() { }
8727 8727
8728 static void PostGarbageCollectionProcessing(Isolate* isolate); 8728 static void PostGarbageCollectionProcessing(Isolate* isolate);
8729 static int ArchiveSpacePerThread(Isolate* isolate); 8729 static int ArchiveSpacePerThread();
8730 static char* ArchiveState(Isolate* isolate, char* to); 8730 static char* ArchiveState(Isolate* isolate, char* to);
8731 static char* RestoreState(Isolate* isolate, char* from); 8731 static char* RestoreState(Isolate* isolate, char* from);
8732 static void Iterate(Isolate* isolate, ObjectVisitor* v); 8732 static void Iterate(Isolate* isolate, ObjectVisitor* v);
8733 static void Iterate(ObjectVisitor* v, Relocatable* top); 8733 static void Iterate(ObjectVisitor* v, Relocatable* top);
8734 static char* Iterate(Isolate* isolate, ObjectVisitor* v, char* t); 8734 static char* Iterate(ObjectVisitor* v, char* t);
8735 8735
8736 private: 8736 private:
8737 Isolate* isolate_; 8737 Isolate* isolate_;
8738 Relocatable* prev_; 8738 Relocatable* prev_;
8739 }; 8739 };
8740 8740
8741 8741
8742 // A flat string reader provides random access to the contents of a 8742 // A flat string reader provides random access to the contents of a
8743 // string independent of the character width of the string. The handle 8743 // string independent of the character width of the string. The handle
8744 // must be valid as long as the reader is being used. 8744 // must be valid as long as the reader is being used.
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
10174 } else { 10174 } else {
10175 value &= ~(1 << bit_position); 10175 value &= ~(1 << bit_position);
10176 } 10176 }
10177 return value; 10177 return value;
10178 } 10178 }
10179 }; 10179 };
10180 10180
10181 } } // namespace v8::internal 10181 } } // namespace v8::internal
10182 10182
10183 #endif // V8_OBJECTS_H_ 10183 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698