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

Side by Side Diff: src/bootstrapper.h

Issue 10878047: Revert to code state of 3.13.1 plus r12350 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/bootstrapper.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 static int ArchiveSpacePerThread(); 119 static int ArchiveSpacePerThread();
120 char* ArchiveState(char* to); 120 char* ArchiveState(char* to);
121 char* RestoreState(char* from); 121 char* RestoreState(char* from);
122 void FreeThreadResources(); 122 void FreeThreadResources();
123 123
124 // This will allocate a char array that is deleted when V8 is shut down. 124 // This will allocate a char array that is deleted when V8 is shut down.
125 // It should only be used for strictly finite allocations. 125 // It should only be used for strictly finite allocations.
126 char* AllocateAutoDeletedArray(int bytes); 126 char* AllocateAutoDeletedArray(int bytes);
127 127
128 // Used for new context creation. 128 // Used for new context creation.
129 bool InstallExtensions(Handle<Context> native_context, 129 bool InstallExtensions(Handle<Context> global_context,
130 v8::ExtensionConfiguration* extensions); 130 v8::ExtensionConfiguration* extensions);
131 131
132 SourceCodeCache* extensions_cache() { return &extensions_cache_; } 132 SourceCodeCache* extensions_cache() { return &extensions_cache_; }
133 133
134 private: 134 private:
135 typedef int NestingCounterType; 135 typedef int NestingCounterType;
136 NestingCounterType nesting_; 136 NestingCounterType nesting_;
137 SourceCodeCache extensions_cache_; 137 SourceCodeCache extensions_cache_;
138 // This is for delete, not delete[]. 138 // This is for delete, not delete[].
139 List<char*>* delete_these_non_arrays_on_tear_down_; 139 List<char*>* delete_these_non_arrays_on_tear_down_;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return length_; 180 return length_;
181 } 181 }
182 private: 182 private:
183 const char* data_; 183 const char* data_;
184 size_t length_; 184 size_t length_;
185 }; 185 };
186 186
187 }} // namespace v8::internal 187 }} // namespace v8::internal
188 188
189 #endif // V8_BOOTSTRAPPER_H_ 189 #endif // V8_BOOTSTRAPPER_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698