Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/mips64/builtins-mips64.cc

Issue 1412953007: [Interpreter] Fill out function prologue support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 900
901 // TODO(rmcilroy): List of things not currently dealt with here but done in 901 // TODO(rmcilroy): List of things not currently dealt with here but done in
902 // fullcodegen's prologue: 902 // fullcodegen's prologue:
903 // - Support profiler (specifically profiling_counter). 903 // - Support profiler (specifically profiling_counter).
904 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. 904 // - Call ProfileEntryHookStub when isolate has a function_entry_hook.
905 // - Allow simulator stop operations if FLAG_stop_at is set. 905 // - Allow simulator stop operations if FLAG_stop_at is set.
906 // - Deal with sloppy mode functions which need to replace the 906 // - Deal with sloppy mode functions which need to replace the
907 // receiver with the global proxy when called as functions (without an 907 // receiver with the global proxy when called as functions (without an
908 // explicit receiver object). 908 // explicit receiver object).
909 // - Code aging of the BytecodeArray object. 909 // - Code aging of the BytecodeArray object.
910 // - Supporting FLAG_trace.
911 //
912 // The following items are also not done here, and will probably be done using
913 // explicit bytecodes instead:
914 // - Allocating a new local context if applicable.
915 // - Setting up a local binding to the this function, which is used in
916 // derived constructors with super calls.
917 // - Setting new.target if required.
918 // - Dealing with REST parameters (only if
919 // https://codereview.chromium.org/1235153006 doesn't land by then).
920 // - Dealing with argument objects.
921 910
922 // Perform stack guard check. 911 // Perform stack guard check.
923 { 912 {
924 Label ok; 913 Label ok;
925 __ LoadRoot(at, Heap::kStackLimitRootIndex); 914 __ LoadRoot(at, Heap::kStackLimitRootIndex);
926 __ Branch(&ok, hs, sp, Operand(at)); 915 __ Branch(&ok, hs, sp, Operand(at));
927 __ CallRuntime(Runtime::kStackGuard, 0); 916 __ CallRuntime(Runtime::kStackGuard, 0);
928 __ bind(&ok); 917 __ bind(&ok);
929 } 918 }
930 919
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 } 1922 }
1934 } 1923 }
1935 1924
1936 1925
1937 #undef __ 1926 #undef __
1938 1927
1939 } // namespace internal 1928 } // namespace internal
1940 } // namespace v8 1929 } // namespace v8
1941 1930
1942 #endif // V8_TARGET_ARCH_MIPS64 1931 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698