OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "api.h" | 30 #include "api.h" |
31 #include "arguments.h" | 31 #include "arguments.h" |
32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
33 #include "builtins.h" | 33 #include "builtins.h" |
34 #include "gdb-jit.h" | 34 #include "gdb-jit.h" |
35 #include "ic-inl.h" | 35 #include "ic-inl.h" |
36 #include "heap-profiler.h" | 36 #include "heap-profiler.h" |
37 #include "mark-compact.h" | 37 #include "mark-compact.h" |
| 38 #include "stub-cache.h" |
38 #include "vm-state-inl.h" | 39 #include "vm-state-inl.h" |
39 | 40 |
40 namespace v8 { | 41 namespace v8 { |
41 namespace internal { | 42 namespace internal { |
42 | 43 |
43 namespace { | 44 namespace { |
44 | 45 |
45 // Arguments object passed to C++ builtins. | 46 // Arguments object passed to C++ builtins. |
46 template <BuiltinExtraArguments extra_args> | 47 template <BuiltinExtraArguments extra_args> |
47 class BuiltinArguments : public Arguments { | 48 class BuiltinArguments : public Arguments { |
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1381 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { | 1382 static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { |
1382 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); | 1383 StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); |
1383 } | 1384 } |
1384 | 1385 |
1385 | 1386 |
1386 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { | 1387 static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { |
1387 StoreIC::GenerateGlobalProxy(masm, kStrictMode); | 1388 StoreIC::GenerateGlobalProxy(masm, kStrictMode); |
1388 } | 1389 } |
1389 | 1390 |
1390 | 1391 |
| 1392 static void Generate_SetterStubForDeopt(MacroAssembler* masm) { |
| 1393 StoreStubCompiler::GenerateStoreViaSetter(masm, Handle<JSFunction>()); |
| 1394 } |
| 1395 |
| 1396 |
1391 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { | 1397 static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
1392 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); | 1398 KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
1393 } | 1399 } |
1394 | 1400 |
1395 | 1401 |
1396 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { | 1402 static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
1397 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); | 1403 KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
1398 } | 1404 } |
1399 | 1405 |
1400 | 1406 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1703 return Handle<Code>(code_address); \ | 1709 return Handle<Code>(code_address); \ |
1704 } | 1710 } |
1705 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) | 1711 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) |
1706 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) | 1712 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) |
1707 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) | 1713 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) |
1708 #undef DEFINE_BUILTIN_ACCESSOR_C | 1714 #undef DEFINE_BUILTIN_ACCESSOR_C |
1709 #undef DEFINE_BUILTIN_ACCESSOR_A | 1715 #undef DEFINE_BUILTIN_ACCESSOR_A |
1710 | 1716 |
1711 | 1717 |
1712 } } // namespace v8::internal | 1718 } } // namespace v8::internal |
OLD | NEW |