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

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

Issue 2739663002: Revert "Replacing TrySync with Metadata" (Closed)
Patch Set: Created 3 years, 9 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/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_mips.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_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
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 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after
2110 __ popl(kResultReg); 2110 __ popl(kResultReg);
2111 __ Bind(&done); 2111 __ Bind(&done);
2112 return; 2112 return;
2113 } 2113 }
2114 } 2114 }
2115 2115
2116 __ Bind(&slow_path); 2116 __ Bind(&slow_path);
2117 const Code& stub = Code::ZoneHandle(compiler->zone(), 2117 const Code& stub = Code::ZoneHandle(compiler->zone(),
2118 StubCode::AllocateArray_entry()->code()); 2118 StubCode::AllocateArray_entry()->code());
2119 compiler->AddStubCallTarget(stub); 2119 compiler->AddStubCallTarget(stub);
2120 compiler->GenerateCallWithDeopt(token_pos(), deopt_id(), 2120 compiler->GenerateCall(token_pos(), *StubCode::AllocateArray_entry(),
2121 *StubCode::AllocateArray_entry(), 2121 RawPcDescriptors::kOther, locs());
2122 RawPcDescriptors::kOther, locs());
2123 __ Bind(&done); 2122 __ Bind(&done);
2124 ASSERT(locs()->out(0).reg() == kResultReg); 2123 ASSERT(locs()->out(0).reg() == kResultReg);
2125 } 2124 }
2126 2125
2127 2126
2128 LocationSummary* LoadFieldInstr::MakeLocationSummary(Zone* zone, 2127 LocationSummary* LoadFieldInstr::MakeLocationSummary(Zone* zone,
2129 bool opt) const { 2128 bool opt) const {
2130 const intptr_t kNumInputs = 1; 2129 const intptr_t kNumInputs = 1;
2131 const intptr_t kNumTemps = 2130 const intptr_t kNumTemps =
2132 (IsUnboxedLoad() && opt) ? 1 : ((IsPotentialUnboxedLoad()) ? 2 : 0); 2131 (IsUnboxedLoad() && opt) ? 1 : ((IsPotentialUnboxedLoad()) ? 2 : 0);
(...skipping 4740 matching lines...) Expand 10 before | Expand all | Expand 10 after
6873 __ Drop(1); 6872 __ Drop(1);
6874 __ popl(result); 6873 __ popl(result);
6875 } 6874 }
6876 6875
6877 6876
6878 } // namespace dart 6877 } // namespace dart
6879 6878
6880 #undef __ 6879 #undef __
6881 6880
6882 #endif // defined TARGET_ARCH_IA32 6881 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm64.cc ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698