OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/builtins/builtins-utils.h" |
5 #include "src/builtins/builtins.h" | 6 #include "src/builtins/builtins.h" |
6 #include "src/builtins/builtins-utils.h" | 7 #include "src/code-stub-assembler.h" |
7 | |
8 #include "src/dateparser-inl.h" | 8 #include "src/dateparser-inl.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // ----------------------------------------------------------------------------- | 13 // ----------------------------------------------------------------------------- |
14 // ES6 section 20.3 Date Objects | 14 // ES6 section 20.3 Date Objects |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 | 1089 |
1090 // static | 1090 // static |
1091 void Builtins::Generate_DatePrototypeGetUTCSeconds( | 1091 void Builtins::Generate_DatePrototypeGetUTCSeconds( |
1092 compiler::CodeAssemblerState* state) { | 1092 compiler::CodeAssemblerState* state) { |
1093 CodeStubAssembler assembler(state); | 1093 CodeStubAssembler assembler(state); |
1094 Generate_DatePrototype_GetField(&assembler, JSDate::kSecondUTC); | 1094 Generate_DatePrototype_GetField(&assembler, JSDate::kSecondUTC); |
1095 } | 1095 } |
1096 | 1096 |
1097 } // namespace internal | 1097 } // namespace internal |
1098 } // namespace v8 | 1098 } // namespace v8 |
OLD | NEW |