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 #if V8_TARGET_ARCH_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
6 | 6 |
7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 | 904 |
905 // TODO(rmcilroy): List of things not currently dealt with here but done in | 905 // TODO(rmcilroy): List of things not currently dealt with here but done in |
906 // fullcodegen's prologue: | 906 // fullcodegen's prologue: |
907 // - Support profiler (specifically profiling_counter). | 907 // - Support profiler (specifically profiling_counter). |
908 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. | 908 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. |
909 // - Allow simulator stop operations if FLAG_stop_at is set. | 909 // - Allow simulator stop operations if FLAG_stop_at is set. |
910 // - Deal with sloppy mode functions which need to replace the | 910 // - Deal with sloppy mode functions which need to replace the |
911 // receiver with the global proxy when called as functions (without an | 911 // receiver with the global proxy when called as functions (without an |
912 // explicit receiver object). | 912 // explicit receiver object). |
913 // - Code aging of the BytecodeArray object. | 913 // - Code aging of the BytecodeArray object. |
914 // - Supporting FLAG_trace. | |
915 // | |
916 // The following items are also not done here, and will probably be done using | |
917 // explicit bytecodes instead: | |
918 // - Allocating a new local context if applicable. | |
919 // - Setting up a local binding to the this function, which is used in | |
920 // derived constructors with super calls. | |
921 // - Setting new.target if required. | |
922 // - Dealing with REST parameters (only if | |
923 // https://codereview.chromium.org/1235153006 doesn't land by then). | |
924 // - Dealing with argument objects. | |
925 | 914 |
926 // Perform stack guard check. | 915 // Perform stack guard check. |
927 { | 916 { |
928 Label ok; | 917 Label ok; |
929 __ LoadRoot(at, Heap::kStackLimitRootIndex); | 918 __ LoadRoot(at, Heap::kStackLimitRootIndex); |
930 __ Branch(&ok, hs, sp, Operand(at)); | 919 __ Branch(&ok, hs, sp, Operand(at)); |
931 __ CallRuntime(Runtime::kStackGuard, 0); | 920 __ CallRuntime(Runtime::kStackGuard, 0); |
932 __ bind(&ok); | 921 __ bind(&ok); |
933 } | 922 } |
934 | 923 |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1938 } | 1927 } |
1939 } | 1928 } |
1940 | 1929 |
1941 | 1930 |
1942 #undef __ | 1931 #undef __ |
1943 | 1932 |
1944 } // namespace internal | 1933 } // namespace internal |
1945 } // namespace v8 | 1934 } // namespace v8 |
1946 | 1935 |
1947 #endif // V8_TARGET_ARCH_MIPS | 1936 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |