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

Side by Side Diff: src/ppc/builtins-ppc.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, 1 month 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/mips64/builtins-mips64.cc ('k') | src/x64/builtins-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 901
902 // TODO(rmcilroy): List of things not currently dealt with here but done in 902 // TODO(rmcilroy): List of things not currently dealt with here but done in
903 // fullcodegen's prologue: 903 // fullcodegen's prologue:
904 // - Support profiler (specifically profiling_counter). 904 // - Support profiler (specifically profiling_counter).
905 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. 905 // - Call ProfileEntryHookStub when isolate has a function_entry_hook.
906 // - Allow simulator stop operations if FLAG_stop_at is set. 906 // - Allow simulator stop operations if FLAG_stop_at is set.
907 // - Deal with sloppy mode functions which need to replace the 907 // - Deal with sloppy mode functions which need to replace the
908 // receiver with the global proxy when called as functions (without an 908 // receiver with the global proxy when called as functions (without an
909 // explicit receiver object). 909 // explicit receiver object).
910 // - Code aging of the BytecodeArray object. 910 // - Code aging of the BytecodeArray object.
911 // - Supporting FLAG_trace.
912 //
913 // The following items are also not done here, and will probably be done using
914 // explicit bytecodes instead:
915 // - Allocating a new local context if applicable.
916 // - Setting up a local binding to the this function, which is used in
917 // derived constructors with super calls.
918 // - Setting new.target if required.
919 // - Dealing with REST parameters (only if
920 // https://codereview.chromium.org/1235153006 doesn't land by then).
921 // - Dealing with argument objects.
922 911
923 // Perform stack guard check. 912 // Perform stack guard check.
924 { 913 {
925 Label ok; 914 Label ok;
926 __ LoadRoot(r0, Heap::kStackLimitRootIndex); 915 __ LoadRoot(r0, Heap::kStackLimitRootIndex);
927 __ cmp(sp, r0); 916 __ cmp(sp, r0);
928 __ bge(&ok); 917 __ bge(&ok);
929 __ CallRuntime(Runtime::kStackGuard, 0); 918 __ CallRuntime(Runtime::kStackGuard, 0);
930 __ bind(&ok); 919 __ bind(&ok);
931 } 920 }
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 __ bkpt(0); 1941 __ bkpt(0);
1953 } 1942 }
1954 } 1943 }
1955 1944
1956 1945
1957 #undef __ 1946 #undef __
1958 } // namespace internal 1947 } // namespace internal
1959 } // namespace v8 1948 } // namespace v8
1960 1949
1961 #endif // V8_TARGET_ARCH_PPC 1950 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/mips64/builtins-mips64.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698