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

Side by Side Diff: src/factory.h

Issue 464473002: Add "own" symbols support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes for 64-bit builds Created 6 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 | « no previous file | 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // because we cannot change the underlying buffer. Note that these strings 214 // because we cannot change the underlying buffer. Note that these strings
215 // are backed by a string resource that resides outside the V8 heap. 215 // are backed by a string resource that resides outside the V8 heap.
216 MUST_USE_RESULT MaybeHandle<String> NewExternalStringFromAscii( 216 MUST_USE_RESULT MaybeHandle<String> NewExternalStringFromAscii(
217 const ExternalAsciiString::Resource* resource); 217 const ExternalAsciiString::Resource* resource);
218 MUST_USE_RESULT MaybeHandle<String> NewExternalStringFromTwoByte( 218 MUST_USE_RESULT MaybeHandle<String> NewExternalStringFromTwoByte(
219 const ExternalTwoByteString::Resource* resource); 219 const ExternalTwoByteString::Resource* resource);
220 220
221 // Create a symbol. 221 // Create a symbol.
222 Handle<Symbol> NewSymbol(); 222 Handle<Symbol> NewSymbol();
223 Handle<Symbol> NewPrivateSymbol(); 223 Handle<Symbol> NewPrivateSymbol();
224 Handle<Symbol> NewPrivateOwnSymbol();
224 225
225 // Create a global (but otherwise uninitialized) context. 226 // Create a global (but otherwise uninitialized) context.
226 Handle<Context> NewNativeContext(); 227 Handle<Context> NewNativeContext();
227 228
228 // Create a global context. 229 // Create a global context.
229 Handle<Context> NewGlobalContext(Handle<JSFunction> function, 230 Handle<Context> NewGlobalContext(Handle<JSFunction> function,
230 Handle<ScopeInfo> scope_info); 231 Handle<ScopeInfo> scope_info);
231 232
232 // Create a module context. 233 // Create a module context.
233 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); 234 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info);
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 PretenureFlag pretenure = TENURED); 702 PretenureFlag pretenure = TENURED);
702 703
703 Handle<JSFunction> NewFunction(Handle<Map> map, 704 Handle<JSFunction> NewFunction(Handle<Map> map,
704 Handle<String> name, 705 Handle<String> name,
705 MaybeHandle<Code> maybe_code); 706 MaybeHandle<Code> maybe_code);
706 }; 707 };
707 708
708 } } // namespace v8::internal 709 } } // namespace v8::internal
709 710
710 #endif // V8_FACTORY_H_ 711 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698