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

Side by Side Diff: src/factory.h

Issue 716833002: Various clean-ups after top-level lexical declarations are done. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Patch for landing 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 | « src/contexts.cc ('k') | src/factory.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "src/isolate.h" 8 #include "src/isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 const ExternalTwoByteString::Resource* resource); 218 const ExternalTwoByteString::Resource* resource);
219 219
220 // Create a symbol. 220 // Create a symbol.
221 Handle<Symbol> NewSymbol(); 221 Handle<Symbol> NewSymbol();
222 Handle<Symbol> NewPrivateSymbol(); 222 Handle<Symbol> NewPrivateSymbol();
223 Handle<Symbol> NewPrivateOwnSymbol(); 223 Handle<Symbol> NewPrivateOwnSymbol();
224 224
225 // Create a global (but otherwise uninitialized) context. 225 // Create a global (but otherwise uninitialized) context.
226 Handle<Context> NewNativeContext(); 226 Handle<Context> NewNativeContext();
227 227
228 // Create a global context. 228 // Create a script context.
229 Handle<Context> NewGlobalContext(Handle<JSFunction> function, 229 Handle<Context> NewScriptContext(Handle<JSFunction> function,
230 Handle<ScopeInfo> scope_info); 230 Handle<ScopeInfo> scope_info);
231 231
232 // Create an empty global context table. 232 // Create an empty script context table.
233 Handle<GlobalContextTable> NewGlobalContextTable(); 233 Handle<ScriptContextTable> NewScriptContextTable();
234 234
235 // Create a module context. 235 // Create a module context.
236 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); 236 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info);
237 237
238 // Create a function context. 238 // Create a function context.
239 Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function); 239 Handle<Context> NewFunctionContext(int length, Handle<JSFunction> function);
240 240
241 // Create a catch context. 241 // Create a catch context.
242 Handle<Context> NewCatchContext(Handle<JSFunction> function, 242 Handle<Context> NewCatchContext(Handle<JSFunction> function,
243 Handle<Context> previous, 243 Handle<Context> previous,
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 // Reinitialize a JSProxy into an (empty) JS object of respective type and 718 // Reinitialize a JSProxy into an (empty) JS object of respective type and
719 // size, but keeping the original prototype. The receiver must have at least 719 // size, but keeping the original prototype. The receiver must have at least
720 // the size of the new object. The object is reinitialized and behaves as an 720 // the size of the new object. The object is reinitialized and behaves as an
721 // object that has been freshly allocated. 721 // object that has been freshly allocated.
722 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 722 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
723 }; 723 };
724 724
725 } } // namespace v8::internal 725 } } // namespace v8::internal
726 726
727 #endif // V8_FACTORY_H_ 727 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698