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 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1732 | 1732 |
1733 | 1733 |
1734 // Handle calls to non-function objects created through the API. This delegate | 1734 // Handle calls to non-function objects created through the API. This delegate |
1735 // function is used when the call is a construct call. | 1735 // function is used when the call is a construct call. |
1736 BUILTIN(HandleApiCallAsConstructor) { | 1736 BUILTIN(HandleApiCallAsConstructor) { |
1737 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); | 1737 return HandleApiCallAsFunctionOrConstructor(isolate, true, args); |
1738 } | 1738 } |
1739 | 1739 |
1740 | 1740 |
1741 static void Generate_LoadIC_Miss(MacroAssembler* masm) { | 1741 static void Generate_LoadIC_Miss(MacroAssembler* masm) { |
1742 LoadIC::GenerateMiss(masm, LoadIC::kStressBuiltin); | 1742 LoadIC::GenerateMiss(masm); |
1743 } | 1743 } |
1744 | 1744 |
1745 | 1745 |
1746 static void Generate_LoadIC_Normal(MacroAssembler* masm) { | 1746 static void Generate_LoadIC_Normal(MacroAssembler* masm) { |
1747 LoadIC::GenerateNormal(masm, SLOPPY); | 1747 LoadIC::GenerateNormal(masm, SLOPPY); |
1748 } | 1748 } |
1749 | 1749 |
1750 | 1750 |
1751 static void Generate_LoadIC_Normal_Strong(MacroAssembler* masm) { | 1751 static void Generate_LoadIC_Normal_Strong(MacroAssembler* masm) { |
1752 LoadIC::GenerateNormal(masm, STRONG); | 1752 LoadIC::GenerateNormal(masm, STRONG); |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2090 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 2090 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
2091 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 2091 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
2092 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) | 2092 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) |
2093 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 2093 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
2094 #undef DEFINE_BUILTIN_ACCESSOR_C | 2094 #undef DEFINE_BUILTIN_ACCESSOR_C |
2095 #undef DEFINE_BUILTIN_ACCESSOR_A | 2095 #undef DEFINE_BUILTIN_ACCESSOR_A |
2096 | 2096 |
2097 | 2097 |
2098 } // namespace internal | 2098 } // namespace internal |
2099 } // namespace v8 | 2099 } // namespace v8 |
OLD | NEW |