Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index ab1173f7b0eec6a558ed669d2ac415545976c373..a1b83daba1c287a6c054d6030c20e639fc75ac90 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -360,6 +360,10 @@ namespace internal { |
TFJ(DatePrototypeGetUTCMonth, 0) \ |
/* ES6 section 20.3.4.19 Date.prototype.getUTCSeconds ( ) */ \ |
TFJ(DatePrototypeGetUTCSeconds, 0) \ |
+ /* ES6 section 20.3.4.44 Date.prototype.valueOf ( ) */ \ |
+ TFJ(DatePrototypeValueOf, 0) \ |
+ /* ES6 section 20.3.4.45 Date.prototype [ @@toPrimitive ] ( hint ) */ \ |
+ TFJ(DatePrototypeToPrimitive, 1) \ |
CPP(DatePrototypeGetYear) \ |
CPP(DatePrototypeSetYear) \ |
CPP(DateNow) \ |
@@ -381,11 +385,9 @@ namespace internal { |
CPP(DatePrototypeSetUTCSeconds) \ |
CPP(DatePrototypeToDateString) \ |
CPP(DatePrototypeToISOString) \ |
- CPP(DatePrototypeToPrimitive) \ |
CPP(DatePrototypeToUTCString) \ |
CPP(DatePrototypeToString) \ |
CPP(DatePrototypeToTimeString) \ |
- CPP(DatePrototypeValueOf) \ |
CPP(DatePrototypeToJson) \ |
CPP(DateUTC) \ |
\ |