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

Side by Side Diff: src/arm/builtins-arm.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 | « no previous file | src/arm64/builtins-arm64.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_ARM 5 #if V8_TARGET_ARCH_ARM
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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 903
904 // TODO(rmcilroy): List of things not currently dealt with here but done in 904 // TODO(rmcilroy): List of things not currently dealt with here but done in
905 // fullcodegen's prologue: 905 // fullcodegen's prologue:
906 // - Support profiler (specifically profiling_counter). 906 // - Support profiler (specifically profiling_counter).
907 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. 907 // - Call ProfileEntryHookStub when isolate has a function_entry_hook.
908 // - Allow simulator stop operations if FLAG_stop_at is set. 908 // - Allow simulator stop operations if FLAG_stop_at is set.
909 // - Deal with sloppy mode functions which need to replace the 909 // - Deal with sloppy mode functions which need to replace the
910 // receiver with the global proxy when called as functions (without an 910 // receiver with the global proxy when called as functions (without an
911 // explicit receiver object). 911 // explicit receiver object).
912 // - Code aging of the BytecodeArray object. 912 // - Code aging of the BytecodeArray object.
913 // - Supporting FLAG_trace.
914 //
915 // The following items are also not done here, and will probably be done using
916 // explicit bytecodes instead:
917 // - Allocating a new local context if applicable.
918 // - Setting up a local binding to the this function, which is used in
919 // derived constructors with super calls.
920 // - Setting new.target if required.
921 // - Dealing with REST parameters (only if
922 // https://codereview.chromium.org/1235153006 doesn't land by then).
923 // - Dealing with argument objects.
924 913
925 // Perform stack guard check. 914 // Perform stack guard check.
926 { 915 {
927 Label ok; 916 Label ok;
928 __ LoadRoot(ip, Heap::kStackLimitRootIndex); 917 __ LoadRoot(ip, Heap::kStackLimitRootIndex);
929 __ cmp(sp, Operand(ip)); 918 __ cmp(sp, Operand(ip));
930 __ b(hs, &ok); 919 __ b(hs, &ok);
931 __ CallRuntime(Runtime::kStackGuard, 0); 920 __ CallRuntime(Runtime::kStackGuard, 0);
932 __ bind(&ok); 921 __ bind(&ok);
933 } 922 }
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 } 1898 }
1910 } 1899 }
1911 1900
1912 1901
1913 #undef __ 1902 #undef __
1914 1903
1915 } // namespace internal 1904 } // namespace internal
1916 } // namespace v8 1905 } // namespace v8
1917 1906
1918 #endif // V8_TARGET_ARCH_ARM 1907 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698