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

Side by Side Diff: src/factory.h

Issue 460803003: Revert "Add "own" symbols support." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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();
225 224
226 // Create a global (but otherwise uninitialized) context. 225 // Create a global (but otherwise uninitialized) context.
227 Handle<Context> NewNativeContext(); 226 Handle<Context> NewNativeContext();
228 227
229 // Create a global context. 228 // Create a global context.
230 Handle<Context> NewGlobalContext(Handle<JSFunction> function, 229 Handle<Context> NewGlobalContext(Handle<JSFunction> function,
231 Handle<ScopeInfo> scope_info); 230 Handle<ScopeInfo> scope_info);
232 231
233 // Create a module context. 232 // Create a module context.
234 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info); 233 Handle<Context> NewModuleContext(Handle<ScopeInfo> scope_info);
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 PretenureFlag pretenure = TENURED); 701 PretenureFlag pretenure = TENURED);
703 702
704 Handle<JSFunction> NewFunction(Handle<Map> map, 703 Handle<JSFunction> NewFunction(Handle<Map> map,
705 Handle<String> name, 704 Handle<String> name,
706 MaybeHandle<Code> maybe_code); 705 MaybeHandle<Code> maybe_code);
707 }; 706 };
708 707
709 } } // namespace v8::internal 708 } } // namespace v8::internal
710 709
711 #endif // V8_FACTORY_H_ 710 #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