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

Side by Side Diff: src/factory.h

Issue 1316933002: [es6] Initial steps towards a correct implementation of IsCallable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
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 10
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 // TODO(aandrey): Maybe these should take table, index and kind arguments. 473 // TODO(aandrey): Maybe these should take table, index and kind arguments.
474 Handle<JSMapIterator> NewJSMapIterator(); 474 Handle<JSMapIterator> NewJSMapIterator();
475 Handle<JSSetIterator> NewJSSetIterator(); 475 Handle<JSSetIterator> NewJSSetIterator();
476 476
477 // Allocates a Harmony proxy. 477 // Allocates a Harmony proxy.
478 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 478 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
479 479
480 // Allocates a Harmony function proxy. 480 // Allocates a Harmony function proxy.
481 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler, 481 Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler,
482 Handle<Object> call_trap, 482 Handle<JSReceiver> call_trap,
483 Handle<Object> construct_trap, 483 Handle<Object> construct_trap,
484 Handle<Object> prototype); 484 Handle<Object> prototype);
485 485
486 // Reinitialize an JSGlobalProxy based on a constructor. The object 486 // Reinitialize an JSGlobalProxy based on a constructor. The object
487 // must have the same size as objects allocated using the 487 // must have the same size as objects allocated using the
488 // constructor. The object is reinitialized and behaves as an 488 // constructor. The object is reinitialized and behaves as an
489 // object that has been freshly allocated using the constructor. 489 // object that has been freshly allocated using the constructor.
490 void ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> global, 490 void ReinitializeJSGlobalProxy(Handle<JSGlobalProxy> global,
491 Handle<JSFunction> constructor); 491 Handle<JSFunction> constructor);
492 492
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 // Reinitialize a JSProxy into an (empty) JS object of respective type and 728 // Reinitialize a JSProxy into an (empty) JS object of respective type and
729 // size, but keeping the original prototype. The receiver must have at least 729 // size, but keeping the original prototype. The receiver must have at least
730 // the size of the new object. The object is reinitialized and behaves as an 730 // the size of the new object. The object is reinitialized and behaves as an
731 // object that has been freshly allocated. 731 // object that has been freshly allocated.
732 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size); 732 void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
733 }; 733 };
734 734
735 } } // namespace v8::internal 735 } } // namespace v8::internal
736 736
737 #endif // V8_FACTORY_H_ 737 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/factory.cc » ('j') | src/objects-debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698