Chromium Code Reviews| OLD | NEW | 
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef V8_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_H_ | 
| 6 #define V8_BUILTINS_H_ | 6 #define V8_BUILTINS_H_ | 
| 7 | 7 | 
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" | 
| 9 #include "src/handles.h" | 9 #include "src/handles.h" | 
| 10 | 10 | 
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 67 \ | 67 \ | 
| 68 V(ArrayBufferConstructor, kTarget) \ | 68 V(ArrayBufferConstructor, kTarget) \ | 
| 69 V(ArrayBufferConstructor_ConstructStub, kTargetAndNewTarget) \ | 69 V(ArrayBufferConstructor_ConstructStub, kTargetAndNewTarget) \ | 
| 70 V(ArrayBufferIsView, kNone) \ | 70 V(ArrayBufferIsView, kNone) \ | 
| 71 \ | 71 \ | 
| 72 V(DateConstructor, kNone) \ | 72 V(DateConstructor, kNone) \ | 
| 73 V(DateConstructor_ConstructStub, kTargetAndNewTarget) \ | 73 V(DateConstructor_ConstructStub, kTargetAndNewTarget) \ | 
| 74 V(DateNow, kNone) \ | 74 V(DateNow, kNone) \ | 
| 75 V(DateParse, kNone) \ | 75 V(DateParse, kNone) \ | 
| 76 V(DateUTC, kNone) \ | 76 V(DateUTC, kNone) \ | 
| 77 V(DatePrototypeSetDate, kNone) \ | |
| 78 V(DatePrototypeSetFullYear, kNone) \ | |
| 79 V(DatePrototypeSetHours, kNone) \ | |
| 80 V(DatePrototypeSetMilliseconds, kNone) \ | |
| 81 V(DatePrototypeSetMinutes, kNone) \ | |
| 82 V(DatePrototypeSetMonth, kNone) \ | |
| 83 V(DatePrototypeSetSeconds, kNone) \ | |
| 84 V(DatePrototypeSetTime, kNone) \ | |
| 85 V(DatePrototypeSetUTCDate, kNone) \ | |
| 86 V(DatePrototypeSetUTCFullYear, kNone) \ | |
| 87 V(DatePrototypeSetUTCHours, kNone) \ | |
| 88 V(DatePrototypeSetUTCMilliseconds, kNone) \ | |
| 89 V(DatePrototypeSetUTCMinutes, kNone) \ | |
| 90 V(DatePrototypeSetUTCMonth, kNone) \ | |
| 91 V(DatePrototypeSetUTCSeconds, kNone) \ | |
| 92 V(DatePrototypeToDateString, kNone) \ | |
| 77 V(DatePrototypeToISOString, kNone) \ | 93 V(DatePrototypeToISOString, kNone) \ | 
| 78 V(DatePrototypeToPrimitive, kNone) \ | 94 V(DatePrototypeToPrimitive, kNone) \ | 
| 95 V(DatePrototypeToUTCString, kNone) \ | |
| 96 V(DatePrototypeToString, kNone) \ | |
| 97 V(DatePrototypeToTimeString, kNone) \ | |
| 79 V(DatePrototypeValueOf, kNone) \ | 98 V(DatePrototypeValueOf, kNone) \ | 
| 99 V(DatePrototypeGetYear, kNone) \ | |
| 100 V(DatePrototypeSetYear, kNone) \ | |
| 80 \ | 101 \ | 
| 81 V(FunctionConstructor, kTargetAndNewTarget) \ | 102 V(FunctionConstructor, kTargetAndNewTarget) \ | 
| 82 V(FunctionPrototypeBind, kNone) \ | 103 V(FunctionPrototypeBind, kNone) \ | 
| 83 V(FunctionPrototypeToString, kNone) \ | 104 V(FunctionPrototypeToString, kNone) \ | 
| 84 \ | 105 \ | 
| 85 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ | 106 V(GeneratorFunctionConstructor, kTargetAndNewTarget) \ | 
| 86 \ | 107 \ | 
| 87 V(GlobalEval, kTarget) \ | 108 V(GlobalEval, kTarget) \ | 
| 88 \ | 109 \ | 
| 89 V(ObjectAssign, kNone) \ | 110 V(ObjectAssign, kNone) \ | 
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 190 kNoExtraICState) \ | 211 kNoExtraICState) \ | 
| 191 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \ | 212 V(KeyedStoreIC_Megamorphic, KEYED_STORE_IC, MEGAMORPHIC, kNoExtraICState) \ | 
| 192 \ | 213 \ | 
| 193 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ | 214 V(KeyedStoreIC_Initialize_Strict, KEYED_STORE_IC, UNINITIALIZED, \ | 
| 194 StoreICState::kStrictModeState) \ | 215 StoreICState::kStrictModeState) \ | 
| 195 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \ | 216 V(KeyedStoreIC_PreMonomorphic_Strict, KEYED_STORE_IC, PREMONOMORPHIC, \ | 
| 196 StoreICState::kStrictModeState) \ | 217 StoreICState::kStrictModeState) \ | 
| 197 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ | 218 V(KeyedStoreIC_Megamorphic_Strict, KEYED_STORE_IC, MEGAMORPHIC, \ | 
| 198 StoreICState::kStrictModeState) \ | 219 StoreICState::kStrictModeState) \ | 
| 199 \ | 220 \ | 
| 200 V(DatePrototypeGetDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 221 V(DatePrototypeGetDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 
 
Yang
2016/01/12 06:20:57
Can we move these up to the other Date builtins?
 
Benedikt Meurer
2016/01/12 06:26:55
No this is the assembly list :-)
 
 | |
| 201 V(DatePrototypeGetDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 222 V(DatePrototypeGetDay, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 202 V(DatePrototypeGetFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 223 V(DatePrototypeGetFullYear, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 203 V(DatePrototypeGetHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 224 V(DatePrototypeGetHours, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 204 V(DatePrototypeGetMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 225 V(DatePrototypeGetMilliseconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 205 V(DatePrototypeGetMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 226 V(DatePrototypeGetMinutes, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 206 V(DatePrototypeGetMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 227 V(DatePrototypeGetMonth, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 207 V(DatePrototypeGetSeconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 228 V(DatePrototypeGetSeconds, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 208 V(DatePrototypeGetTime, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 229 V(DatePrototypeGetTime, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 209 V(DatePrototypeGetTimezoneOffset, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 230 V(DatePrototypeGetTimezoneOffset, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| 210 V(DatePrototypeGetUTCDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 231 V(DatePrototypeGetUTCDate, BUILTIN, UNINITIALIZED, kNoExtraICState) \ | 
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 492 friend class BuiltinFunctionTable; | 513 friend class BuiltinFunctionTable; | 
| 493 friend class Isolate; | 514 friend class Isolate; | 
| 494 | 515 | 
| 495 DISALLOW_COPY_AND_ASSIGN(Builtins); | 516 DISALLOW_COPY_AND_ASSIGN(Builtins); | 
| 496 }; | 517 }; | 
| 497 | 518 | 
| 498 } // namespace internal | 519 } // namespace internal | 
| 499 } // namespace v8 | 520 } // namespace v8 | 
| 500 | 521 | 
| 501 #endif // V8_BUILTINS_H_ | 522 #endif // V8_BUILTINS_H_ | 
| OLD | NEW |