Index: src/builtins/builtins-symbol.cc |
diff --git a/src/builtins/builtins-symbol.cc b/src/builtins/builtins-symbol.cc |
index 43cb8c89a90a29c44526c332bb9b5ff2aea60cb2..77bb09d0f764f033fc06845022d5c534f5eac75f 100644 |
--- a/src/builtins/builtins-symbol.cc |
+++ b/src/builtins/builtins-symbol.cc |
@@ -4,7 +4,6 @@ |
#include "src/builtins/builtins-utils.h" |
#include "src/builtins/builtins.h" |
-#include "src/code-stub-assembler.h" |
#include "src/counters.h" |
#include "src/objects-inl.h" |
@@ -67,36 +66,5 @@ BUILTIN(SymbolKeyFor) { |
return result; |
} |
-// ES6 section 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) |
-TF_BUILTIN(SymbolPrototypeToPrimitive, CodeStubAssembler) { |
- Node* receiver = Parameter(0); |
- Node* context = Parameter(4); |
- |
- Node* result = ToThisValue(context, receiver, PrimitiveType::kSymbol, |
- "Symbol.prototype [ @@toPrimitive ]"); |
- Return(result); |
-} |
- |
-// ES6 section 19.4.3.2 Symbol.prototype.toString ( ) |
-TF_BUILTIN(SymbolPrototypeToString, CodeStubAssembler) { |
- Node* receiver = Parameter(0); |
- Node* context = Parameter(3); |
- |
- Node* value = ToThisValue(context, receiver, PrimitiveType::kSymbol, |
- "Symbol.prototype.toString"); |
- Node* result = CallRuntime(Runtime::kSymbolDescriptiveString, context, value); |
- Return(result); |
-} |
- |
-// ES6 section 19.4.3.3 Symbol.prototype.valueOf ( ) |
-TF_BUILTIN(SymbolPrototypeValueOf, CodeStubAssembler) { |
- Node* receiver = Parameter(0); |
- Node* context = Parameter(3); |
- |
- Node* result = ToThisValue(context, receiver, PrimitiveType::kSymbol, |
- "Symbol.prototype.valueOf"); |
- Return(result); |
-} |
- |
} // namespace internal |
} // namespace v8 |