Chromium Code Reviews| Index: src/builtins/builtins.h |
| diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
| index e421fb3d8e2999a5b10bd51206453885b4b9284c..f1502e6c143cdf55eeb3c41b13dd2aad37985ec5 100644 |
| --- a/src/builtins/builtins.h |
| +++ b/src/builtins/builtins.h |
| @@ -621,7 +621,7 @@ namespace internal { |
| ASM(StringConstructor_ConstructStub) \ |
| CPP(StringFromCodePoint) \ |
| /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ |
| - TFJ(StringFromCharCode, 1) \ |
| + TFJ(StringFromCharCode, -1) \ |
|
Benedikt Meurer
2016/11/07 06:36:34
Can we use SharedFunctionInfo::kDontAdaptArguments
danno
2016/11/07 16:43:52
Done.
|
| /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ |
| TFJ(StringPrototypeCharAt, 1) \ |
| /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ |