| OLD | NEW | 
|---|
| 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 #include "src/messages.h" | 9 #include "src/messages.h" | 
| 10 #include "src/type-feedback-vector.h" | 10 #include "src/type-feedback-vector.h" | 
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 688   Handle<Object> GetNumberStringCache(Handle<Object> number); | 688   Handle<Object> GetNumberStringCache(Handle<Object> number); | 
| 689 | 689 | 
| 690   // Update the cache with a new number-string pair. | 690   // Update the cache with a new number-string pair. | 
| 691   void SetNumberStringCache(Handle<Object> number, Handle<String> string); | 691   void SetNumberStringCache(Handle<Object> number, Handle<String> string); | 
| 692 | 692 | 
| 693   // Creates a function initialized with a shared part. | 693   // Creates a function initialized with a shared part. | 
| 694   Handle<JSFunction> NewFunction(Handle<Map> map, | 694   Handle<JSFunction> NewFunction(Handle<Map> map, | 
| 695                                  Handle<SharedFunctionInfo> info, | 695                                  Handle<SharedFunctionInfo> info, | 
| 696                                  Handle<Context> context, | 696                                  Handle<Context> context, | 
| 697                                  PretenureFlag pretenure = TENURED); | 697                                  PretenureFlag pretenure = TENURED); | 
| 698 | 698   Handle<JSFunction> NewFunction(Handle<Map> map, Handle<String> name, | 
| 699   Handle<JSFunction> NewFunction(Handle<Map> map, |  | 
| 700                                  Handle<String> name, |  | 
| 701                                  MaybeHandle<Code> maybe_code); | 699                                  MaybeHandle<Code> maybe_code); | 
| 702 }; | 700 }; | 
| 703 | 701 | 
| 704 }  // namespace internal | 702 }  // namespace internal | 
| 705 }  // namespace v8 | 703 }  // namespace v8 | 
| 706 | 704 | 
| 707 #endif  // V8_FACTORY_H_ | 705 #endif  // V8_FACTORY_H_ | 
| OLD | NEW | 
|---|