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" | |
6 #include "src/builtins/builtins.h" | 5 #include "src/builtins/builtins.h" |
7 #include "src/ic/accessor-assembler.h" | 6 #include "src/ic/accessor-assembler.h" |
8 #include "src/objects-inl.h" | |
9 | 7 |
10 namespace v8 { | 8 namespace v8 { |
11 namespace internal { | 9 namespace internal { |
12 | 10 |
13 #define IC_BUILTIN(Name) \ | 11 #define IC_BUILTIN(Name) \ |
14 void Builtins::Generate_##Name(compiler::CodeAssemblerState* state) { \ | 12 void Builtins::Generate_##Name(compiler::CodeAssemblerState* state) { \ |
15 AccessorAssembler assembler(state); \ | 13 AccessorAssembler assembler(state); \ |
16 assembler.Generate##Name(); \ | 14 assembler.Generate##Name(); \ |
17 } | 15 } |
18 | 16 |
(...skipping 24 matching lines...) Expand all Loading... |
43 IC_BUILTIN_PARAM(LoadGlobalICInsideTypeof, LoadGlobalIC, INSIDE_TYPEOF) | 41 IC_BUILTIN_PARAM(LoadGlobalICInsideTypeof, LoadGlobalIC, INSIDE_TYPEOF) |
44 IC_BUILTIN_PARAM(LoadGlobalICTrampoline, LoadGlobalICTrampoline, | 42 IC_BUILTIN_PARAM(LoadGlobalICTrampoline, LoadGlobalICTrampoline, |
45 NOT_INSIDE_TYPEOF) | 43 NOT_INSIDE_TYPEOF) |
46 IC_BUILTIN_PARAM(LoadGlobalICInsideTypeofTrampoline, LoadGlobalICTrampoline, | 44 IC_BUILTIN_PARAM(LoadGlobalICInsideTypeofTrampoline, LoadGlobalICTrampoline, |
47 INSIDE_TYPEOF) | 45 INSIDE_TYPEOF) |
48 IC_BUILTIN_PARAM(LoadICProtoArray, LoadICProtoArray, false) | 46 IC_BUILTIN_PARAM(LoadICProtoArray, LoadICProtoArray, false) |
49 IC_BUILTIN_PARAM(LoadICProtoArrayThrowIfNonexistent, LoadICProtoArray, true) | 47 IC_BUILTIN_PARAM(LoadICProtoArrayThrowIfNonexistent, LoadICProtoArray, true) |
50 | 48 |
51 } // namespace internal | 49 } // namespace internal |
52 } // namespace v8 | 50 } // namespace v8 |
OLD | NEW |