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

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

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 if (Smi::FromInt(DeclareGlobalsFlags())) { 874 if (Smi::FromInt(DeclareGlobalsFlags())) {
875 flags = x10; 875 flags = x10;
876 __ Mov(flags, Smi::FromInt(DeclareGlobalsFlags())); 876 __ Mov(flags, Smi::FromInt(DeclareGlobalsFlags()));
877 } 877 }
878 __ Push(x11, flags); 878 __ Push(x11, flags);
879 __ CallRuntime(Runtime::kDeclareGlobals); 879 __ CallRuntime(Runtime::kDeclareGlobals);
880 // Return value is ignored. 880 // Return value is ignored.
881 } 881 }
882 882
883 883
884 void FullCodeGenerator::DeclareModules(Handle<FixedArray> descriptions) {
885 // Call the runtime to declare the modules.
886 __ Push(descriptions);
887 __ CallRuntime(Runtime::kDeclareModules);
888 // Return value is ignored.
889 }
890
891
892 void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { 884 void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) {
893 ASM_LOCATION("FullCodeGenerator::VisitSwitchStatement"); 885 ASM_LOCATION("FullCodeGenerator::VisitSwitchStatement");
894 Comment cmnt(masm_, "[ SwitchStatement"); 886 Comment cmnt(masm_, "[ SwitchStatement");
895 Breakable nested_statement(this, stmt); 887 Breakable nested_statement(this, stmt);
896 SetStatementPosition(stmt); 888 SetStatementPosition(stmt);
897 889
898 // Keep the switch value on the stack until a case matches. 890 // Keep the switch value on the stack until a case matches.
899 VisitForStackValue(stmt->tag()); 891 VisitForStackValue(stmt->tag());
900 PrepareForBailoutForId(stmt->EntryId(), BailoutState::NO_REGISTERS); 892 PrepareForBailoutForId(stmt->EntryId(), BailoutState::NO_REGISTERS);
901 893
(...skipping 2966 matching lines...) Expand 10 before | Expand all | Expand 10 after
3868 } 3860 }
3869 3861
3870 return INTERRUPT; 3862 return INTERRUPT;
3871 } 3863 }
3872 3864
3873 3865
3874 } // namespace internal 3866 } // namespace internal
3875 } // namespace v8 3867 } // namespace v8
3876 3868
3877 #endif // V8_TARGET_ARCH_ARM64 3869 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/full-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698