Commit 90b39673 authored by Simon Zünd's avatar Simon Zünd Committed by Commit Bot

[cleanup] Remove three unused proxy runtime functions

R=jgruber@chromium.org

Bug: v8:9183
Change-Id: I789295e5bbea682b2e46ccf5a55c69dc74f0ed72
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1617669
Auto-Submit: Simon Zünd <szuend@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61632}
parent 272ff465
...@@ -252,7 +252,6 @@ bool IntrinsicHasNoSideEffect(Runtime::FunctionId id) { ...@@ -252,7 +252,6 @@ bool IntrinsicHasNoSideEffect(Runtime::FunctionId id) {
/* Type checks */ \ /* Type checks */ \
V(IsArray) \ V(IsArray) \
V(IsFunction) \ V(IsFunction) \
V(IsJSProxy) \
V(IsJSReceiver) \ V(IsJSReceiver) \
V(IsRegExp) \ V(IsRegExp) \
V(IsSmi) \ V(IsSmi) \
......
...@@ -16,30 +16,6 @@ namespace v8 { ...@@ -16,30 +16,6 @@ namespace v8 {
namespace internal { namespace internal {
RUNTIME_FUNCTION(Runtime_IsJSProxy) {
SealHandleScope shs(isolate);
DCHECK_EQ(1, args.length());
CONVERT_ARG_CHECKED(Object, obj, 0);
return isolate->heap()->ToBoolean(obj->IsJSProxy());
}
RUNTIME_FUNCTION(Runtime_JSProxyGetHandler) {
SealHandleScope shs(isolate);
DCHECK_EQ(1, args.length());
CONVERT_ARG_CHECKED(JSProxy, proxy, 0);
return proxy->handler();
}
RUNTIME_FUNCTION(Runtime_JSProxyGetTarget) {
SealHandleScope shs(isolate);
DCHECK_EQ(1, args.length());
CONVERT_ARG_CHECKED(JSProxy, proxy, 0);
return proxy->target();
}
RUNTIME_FUNCTION(Runtime_GetPropertyWithReceiver) { RUNTIME_FUNCTION(Runtime_GetPropertyWithReceiver) {
HandleScope scope(isolate); HandleScope scope(isolate);
......
...@@ -359,9 +359,6 @@ namespace internal { ...@@ -359,9 +359,6 @@ namespace internal {
F(CheckProxyGetSetTrapResult, 2, 1) \ F(CheckProxyGetSetTrapResult, 2, 1) \
F(CheckProxyHasTrapResult, 2, 1) \ F(CheckProxyHasTrapResult, 2, 1) \
F(GetPropertyWithReceiver, 3, 1) \ F(GetPropertyWithReceiver, 3, 1) \
F(IsJSProxy, 1, 1) \
F(JSProxyGetHandler, 1, 1) \
F(JSProxyGetTarget, 1, 1) \
F(SetPropertyWithReceiver, 4, 1) F(SetPropertyWithReceiver, 4, 1)
#define FOR_EACH_INTRINSIC_REGEXP(F, I) \ #define FOR_EACH_INTRINSIC_REGEXP(F, I) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment