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

Side by Side Diff: src/ia32/builtins-ia32.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/frames.h ('k') | src/interpreter/bytecode-array-builder.h » ('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_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 639
640 // TODO(rmcilroy): List of things not currently dealt with here but done in 640 // TODO(rmcilroy): List of things not currently dealt with here but done in
641 // fullcodegen's prologue: 641 // fullcodegen's prologue:
642 // - Support profiler (specifically profiling_counter). 642 // - Support profiler (specifically profiling_counter).
643 // - Call ProfileEntryHookStub when isolate has a function_entry_hook. 643 // - Call ProfileEntryHookStub when isolate has a function_entry_hook.
644 // - Allow simulator stop operations if FLAG_stop_at is set. 644 // - Allow simulator stop operations if FLAG_stop_at is set.
645 // - Deal with sloppy mode functions which need to replace the 645 // - Deal with sloppy mode functions which need to replace the
646 // receiver with the global proxy when called as functions (without an 646 // receiver with the global proxy when called as functions (without an
647 // explicit receiver object). 647 // explicit receiver object).
648 // - Code aging of the BytecodeArray object. 648 // - Code aging of the BytecodeArray object.
649 // - Supporting FLAG_trace.
650 //
651 // The following items are also not done here, and will probably be done using
652 // explicit bytecodes instead:
653 // - Allocating a new local context if applicable.
654 // - Setting up a local binding to the this function, which is used in
655 // derived constructors with super calls.
656 // - Setting new.target if required.
657 // - Dealing with REST parameters (only if
658 // https://codereview.chromium.org/1235153006 doesn't land by then).
659 // - Dealing with argument objects.
660 649
661 // Perform stack guard check. 650 // Perform stack guard check.
662 { 651 {
663 Label ok; 652 Label ok;
664 ExternalReference stack_limit = 653 ExternalReference stack_limit =
665 ExternalReference::address_of_stack_limit(masm->isolate()); 654 ExternalReference::address_of_stack_limit(masm->isolate());
666 __ cmp(esp, Operand::StaticVariable(stack_limit)); 655 __ cmp(esp, Operand::StaticVariable(stack_limit));
667 __ j(above_equal, &ok); 656 __ j(above_equal, &ok);
668 __ CallRuntime(Runtime::kStackGuard, 0); 657 __ CallRuntime(Runtime::kStackGuard, 0);
669 __ bind(&ok); 658 __ bind(&ok);
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 1898
1910 __ bind(&ok); 1899 __ bind(&ok);
1911 __ ret(0); 1900 __ ret(0);
1912 } 1901 }
1913 1902
1914 #undef __ 1903 #undef __
1915 } // namespace internal 1904 } // namespace internal
1916 } // namespace v8 1905 } // namespace v8
1917 1906
1918 #endif // V8_TARGET_ARCH_IA32 1907 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/frames.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698