| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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.h" | 5 #include "src/builtins.h" |
| 6 | 6 |
| 7 #include "src/api-arguments.h" | 7 #include "src/api-arguments.h" |
| 8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
| 9 #include "src/api.h" | 9 #include "src/api.h" |
| 10 #include "src/base/once.h" | 10 #include "src/base/once.h" |
| (...skipping 5167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5178 } | 5178 } |
| 5179 | 5179 |
| 5180 | 5180 |
| 5181 // Handle calls to non-function objects created through the API. This delegate | 5181 // Handle calls to non-function objects created through the API. This delegate |
| 5182 // function is used when the call is a construct call. | 5182 // function is used when the call is a construct call. |
| 5183 BUILTIN(HandleApiCallAsConstructor) { | 5183 BUILTIN(HandleApiCallAsConstructor) { |
| 5184 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); | 5184 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); |
| 5185 } | 5185 } |
| 5186 | 5186 |
| 5187 | 5187 |
| 5188 static void Generate_LoadIC_Miss(MacroAssembler* masm) { | |
| 5189 LoadIC::GenerateMiss(masm); | |
| 5190 } | |
| 5191 | |
| 5192 | |
| 5193 static void Generate_LoadIC_Normal(MacroAssembler* masm) { | 5188 static void Generate_LoadIC_Normal(MacroAssembler* masm) { |
| 5194 LoadIC::GenerateNormal(masm); | 5189 LoadIC::GenerateNormal(masm); |
| 5195 } | 5190 } |
| 5196 | 5191 |
| 5197 | 5192 |
| 5198 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { | 5193 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { |
| 5199 NamedLoadHandlerCompiler::GenerateLoadViaGetterForDeopt(masm); | 5194 NamedLoadHandlerCompiler::GenerateLoadViaGetterForDeopt(masm); |
| 5200 } | 5195 } |
| 5201 | 5196 |
| 5202 | 5197 |
| 5203 static void Generate_LoadIC_Slow(MacroAssembler* masm) { | |
| 5204 LoadIC::GenerateRuntimeGetProperty(masm); | |
| 5205 } | |
| 5206 | |
| 5207 | |
| 5208 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { | 5198 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { |
| 5209 KeyedLoadIC::GenerateRuntimeGetProperty(masm); | 5199 KeyedLoadIC::GenerateRuntimeGetProperty(masm); |
| 5210 } | 5200 } |
| 5211 | 5201 |
| 5212 | 5202 |
| 5213 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { | 5203 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { |
| 5214 KeyedLoadIC::GenerateMiss(masm); | 5204 KeyedLoadIC::GenerateMiss(masm); |
| 5215 } | 5205 } |
| 5216 | 5206 |
| 5217 | 5207 |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5793 BUILTIN_LIST_T(DEFINE_BUILTIN_ACCESSOR_T) | 5783 BUILTIN_LIST_T(DEFINE_BUILTIN_ACCESSOR_T) |
| 5794 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 5784 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
| 5795 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 5785 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
| 5796 #undef DEFINE_BUILTIN_ACCESSOR_C | 5786 #undef DEFINE_BUILTIN_ACCESSOR_C |
| 5797 #undef DEFINE_BUILTIN_ACCESSOR_A | 5787 #undef DEFINE_BUILTIN_ACCESSOR_A |
| 5798 #undef DEFINE_BUILTIN_ACCESSOR_T | 5788 #undef DEFINE_BUILTIN_ACCESSOR_T |
| 5799 #undef DEFINE_BUILTIN_ACCESSOR_H | 5789 #undef DEFINE_BUILTIN_ACCESSOR_H |
| 5800 | 5790 |
| 5801 } // namespace internal | 5791 } // namespace internal |
| 5802 } // namespace v8 | 5792 } // namespace v8 |
| OLD | NEW |