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

Side by Side Diff: src/arm64/full-codegen-arm64.cc

Issue 407383003: Propagate serialization flag to inner functions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/compiler.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 867
868 868
869 void FullCodeGenerator::VisitFunctionDeclaration( 869 void FullCodeGenerator::VisitFunctionDeclaration(
870 FunctionDeclaration* declaration) { 870 FunctionDeclaration* declaration) {
871 VariableProxy* proxy = declaration->proxy(); 871 VariableProxy* proxy = declaration->proxy();
872 Variable* variable = proxy->var(); 872 Variable* variable = proxy->var();
873 switch (variable->location()) { 873 switch (variable->location()) {
874 case Variable::UNALLOCATED: { 874 case Variable::UNALLOCATED: {
875 globals_->Add(variable->name(), zone()); 875 globals_->Add(variable->name(), zone());
876 Handle<SharedFunctionInfo> function = 876 Handle<SharedFunctionInfo> function =
877 Compiler::BuildFunctionInfo(declaration->fun(), script()); 877 Compiler::BuildFunctionInfo(declaration->fun(), script(), info_);
878 // Check for stack overflow exception. 878 // Check for stack overflow exception.
879 if (function.is_null()) return SetStackOverflow(); 879 if (function.is_null()) return SetStackOverflow();
880 globals_->Add(function, zone()); 880 globals_->Add(function, zone());
881 break; 881 break;
882 } 882 }
883 883
884 case Variable::PARAMETER: 884 case Variable::PARAMETER:
885 case Variable::LOCAL: { 885 case Variable::LOCAL: {
886 Comment cmnt(masm_, "[ Function Declaration"); 886 Comment cmnt(masm_, "[ Function Declaration");
887 VisitForAccumulatorValue(declaration->fun()); 887 VisitForAccumulatorValue(declaration->fun());
(...skipping 4034 matching lines...) Expand 10 before | Expand all | Expand 10 after
4922 return previous_; 4922 return previous_;
4923 } 4923 }
4924 4924
4925 4925
4926 #undef __ 4926 #undef __
4927 4927
4928 4928
4929 } } // namespace v8::internal 4929 } } // namespace v8::internal
4930 4930
4931 #endif // V8_TARGET_ARCH_ARM64 4931 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/compiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698