Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index d4bd1f3bd6f071893aafd7ec8d04bd8e5bf4cbd4..a5fa06bb1db890b2700b52544411e4eaf5b35c87 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -171,7 +171,6 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
V(ReflectSet, kNone) \ |
V(ReflectSetPrototypeOf, kNone) \ |
\ |
- V(StringFromCharCode, kNone) \ |
V(StringPrototypeTrim, kNone) \ |
V(StringPrototypeTrimLeft, kNone) \ |
V(StringPrototypeTrimRight, kNone) \ |
@@ -330,6 +329,7 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
V(MathTrunc, 2) \ |
V(ObjectHasOwnProperty, 2) \ |
V(ArrayIsArray, 2) \ |
+ V(StringFromCharCode, 2) \ |
V(StringPrototypeCharAt, 2) \ |
V(StringPrototypeCharCodeAt, 2) \ |
V(AtomicsLoad, 3) \ |
@@ -654,6 +654,8 @@ class Builtins { |
// ES6 section 22.1.2.2 Array.isArray |
static void Generate_ArrayIsArray(CodeStubAssembler* assembler); |
+ // ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) |
+ static void Generate_StringFromCharCode(CodeStubAssembler* assembler); |
// ES6 section 21.1.3.1 String.prototype.charAt ( pos ) |
static void Generate_StringPrototypeCharAt(CodeStubAssembler* assembler); |
// ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) |