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.h" | 7 #include "src/api.h" |
8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/base/once.h" | 10 #include "src/base/once.h" |
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1712 | 1712 |
1713 | 1713 |
1714 // Handle calls to non-function objects created through the API. This delegate | 1714 // Handle calls to non-function objects created through the API. This delegate |
1715 // function is used when the call is a construct call. | 1715 // function is used when the call is a construct call. |
1716 BUILTIN(HandleApiCallAsConstructor) { | 1716 BUILTIN(HandleApiCallAsConstructor) { |
1717 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); | 1717 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); |
1718 } | 1718 } |
1719 | 1719 |
1720 | 1720 |
1721 static void Generate_LoadIC_Miss(MacroAssembler* masm) { | 1721 static void Generate_LoadIC_Miss(MacroAssembler* masm) { |
1722 LoadIC::GenerateMiss(masm); | 1722 LoadIC::GenerateMiss(masm, LoadIC::kStressBuiltin); |
1723 } | 1723 } |
1724 | 1724 |
1725 | 1725 |
1726 static void Generate_LoadIC_Normal(MacroAssembler* masm) { | 1726 static void Generate_LoadIC_Normal(MacroAssembler* masm) { |
1727 LoadIC::GenerateNormal(masm, SLOPPY); | 1727 LoadIC::GenerateNormal(masm, SLOPPY); |
1728 } | 1728 } |
1729 | 1729 |
1730 | 1730 |
1731 static void Generate_LoadIC_Normal_Strong(MacroAssembler* masm) { | 1731 static void Generate_LoadIC_Normal_Strong(MacroAssembler* masm) { |
1732 LoadIC::GenerateNormal(masm, STRONG); | 1732 LoadIC::GenerateNormal(masm, STRONG); |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2070 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 2070 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
2071 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 2071 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
2072 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 2072 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
2073 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 2073 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
2074 #undef DEFINE_BUILTIN_ACCESSOR_C | 2074 #undef DEFINE_BUILTIN_ACCESSOR_C |
2075 #undef DEFINE_BUILTIN_ACCESSOR_A | 2075 #undef DEFINE_BUILTIN_ACCESSOR_A |
2076 | 2076 |
2077 | 2077 |
2078 } // namespace internal | 2078 } // namespace internal |
2079 } // namespace v8 | 2079 } // namespace v8 |
OLD | NEW |