Index: src/runtime.js |
diff --git a/src/runtime.js b/src/runtime.js |
index 098551ad14a682f8853ce108129dec52aaa68dab..749feb68a8e390b827e7be7ec347990a4ea712dc 100644 |
--- a/src/runtime.js |
+++ b/src/runtime.js |
@@ -192,19 +192,6 @@ function STRING_ADD_RIGHT(y) { |
----------------------------- |
*/ |
-function CALL_NON_FUNCTION_AS_CONSTRUCTOR() { |
- var delegate = %GetConstructorDelegate(this); |
- return %Apply(delegate, this, arguments, 0, %_ArgumentsLength()); |
-} |
- |
- |
-function CALL_FUNCTION_PROXY_AS_CONSTRUCTOR () { |
- var proxy = this; |
- var trap = %GetConstructTrap(proxy); |
- return %Apply(trap, this, arguments, 0, %_ArgumentsLength()); |
-} |
- |
- |
function APPLY_PREPARE(args) { |
var length; |
@@ -550,8 +537,6 @@ $toString = ToString; |
%InstallToContext([ |
"apply_prepare_builtin", APPLY_PREPARE, |
- "call_function_proxy_as_constructor_builtin", CALL_FUNCTION_PROXY_AS_CONSTRUCTOR, |
- "call_non_function_as_constructor_builtin", CALL_NON_FUNCTION_AS_CONSTRUCTOR, |
"compare_builtin", COMPARE, |
"compare_strong_builtin", COMPARE_STRONG, |
"concat_iterable_to_array_builtin", CONCAT_ITERABLE_TO_ARRAY, |