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

Side by Side Diff: runtime/vm/intermediate_language_arm.cc

Issue 2391723002: VM+RISC: Share object pool entries for allocation stubs. (Closed)
Patch Set: . Created 4 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 | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 6946 matching lines...) Expand 10 before | Expand all | Expand 10 after
6957 stub_entry, 6957 stub_entry,
6958 RawPcDescriptors::kOther, 6958 RawPcDescriptors::kOther,
6959 locs()); 6959 locs());
6960 compiler->AddStubCallTarget(stub); 6960 compiler->AddStubCallTarget(stub);
6961 __ Drop(ArgumentCount()); // Discard arguments. 6961 __ Drop(ArgumentCount()); // Discard arguments.
6962 } 6962 }
6963 6963
6964 6964
6965 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 6965 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
6966 ASSERT(!compiler->is_optimizing()); 6966 ASSERT(!compiler->is_optimizing());
6967 compiler->GenerateCall( 6967 __ BranchLinkPatchable(*StubCode::DebugStepCheck_entry());
6968 token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs()); 6968 compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos());
6969 compiler->RecordSafepoint(locs());
6969 } 6970 }
6970 6971
6971 6972
6972 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary( 6973 LocationSummary* GrowRegExpStackInstr::MakeLocationSummary(
6973 Zone* zone, bool opt) const { 6974 Zone* zone, bool opt) const {
6974 const intptr_t kNumInputs = 1; 6975 const intptr_t kNumInputs = 1;
6975 const intptr_t kNumTemps = 0; 6976 const intptr_t kNumTemps = 0;
6976 LocationSummary* locs = new(zone) LocationSummary( 6977 LocationSummary* locs = new(zone) LocationSummary(
6977 zone, kNumInputs, kNumTemps, LocationSummary::kCall); 6978 zone, kNumInputs, kNumTemps, LocationSummary::kCall);
6978 locs->set_in(0, Location::RegisterLocation(R0)); 6979 locs->set_in(0, Location::RegisterLocation(R0));
(...skipping 13 matching lines...) Expand all
6992 1, 6993 1,
6993 locs()); 6994 locs());
6994 __ Drop(1); 6995 __ Drop(1);
6995 __ Pop(result); 6996 __ Pop(result);
6996 } 6997 }
6997 6998
6998 6999
6999 } // namespace dart 7000 } // namespace dart
7000 7001
7001 #endif // defined TARGET_ARCH_ARM 7002 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698