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

Side by Side Diff: src/factory.h

Issue 1496503002: [runtime] [proxy] removing JSFunctionProxy and related code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixing merge artifacts Created 5 years 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
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.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 #include "src/messages.h" 9 #include "src/messages.h"
10 #include "src/type-feedback-vector.h" 10 #include "src/type-feedback-vector.h"
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 474
475 // Creates a new JSIteratorResult object with the arguments {value} and 475 // Creates a new JSIteratorResult object with the arguments {value} and
476 // {done}. Implemented according to ES6 section 7.4.7 CreateIterResultObject. 476 // {done}. Implemented according to ES6 section 7.4.7 CreateIterResultObject.
477 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, 477 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value,
478 Handle<Object> done); 478 Handle<Object> done);
479 479
480 // Allocates a Harmony proxy. 480 // Allocates a Harmony proxy.
481 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target, 481 Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,
482 Handle<JSReceiver> handler); 482 Handle<JSReceiver> handler);
483 483
484 // Allocates a Harmony function proxy.
485 Handle<JSProxy> NewJSFunctionProxy(Handle<JSReceiver> target,
486 Handle<JSReceiver> handler,
487 Handle<JSReceiver> call_trap,
488 Handle<Object> construct_trap,
489 Handle<Object> prototype);
490
491 // Reinitialize an JSGlobalProxy based on a constructor. The object 484 // Reinitialize an JSGlobalProxy based on a constructor. The object
492 // must have the same size as objects allocated using the 485 // must have the same size as objects allocated using the
493 // constructor. The object is reinitialized and behaves as an 486 // constructor. The object is reinitialized and behaves as an
494 // object that has been freshly allocated using the constructor. 487 // object that has been freshly allocated using the constructor.
495 void ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> global, 488 void ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> global,
496 Handle<JSFunction> constructor); 489 Handle<JSFunction> constructor);
497 490
498 Handle<JSGlobalProxy> NewUninitializedJSGlobalProxy(); 491 Handle<JSGlobalProxy> NewUninitializedJSGlobalProxy();
499 492
500 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code, 493 Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 698
706 Handle<JSFunction> NewFunction(Handle<Map> map, 699 Handle<JSFunction> NewFunction(Handle<Map> map,
707 Handle<String> name, 700 Handle<String> name,
708 MaybeHandle<Code> maybe_code); 701 MaybeHandle<Code> maybe_code);
709 }; 702 };
710 703
711 } // namespace internal 704 } // namespace internal
712 } // namespace v8 705 } // namespace v8
713 706
714 #endif // V8_FACTORY_H_ 707 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698