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

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

Issue 317773002: Fix Win64 build of Dart VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 6 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 | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/locations.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 (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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 4782 matching lines...) Expand 10 before | Expand all | Expand 10 after
4793 } 4793 }
4794 4794
4795 4795
4796 LocationSummary* DoubleToSmiInstr::MakeLocationSummary(Isolate* isolate, 4796 LocationSummary* DoubleToSmiInstr::MakeLocationSummary(Isolate* isolate,
4797 bool opt) const { 4797 bool opt) const {
4798 const intptr_t kNumInputs = 1; 4798 const intptr_t kNumInputs = 1;
4799 const intptr_t kNumTemps = 1; 4799 const intptr_t kNumTemps = 1;
4800 LocationSummary* result = new(isolate) LocationSummary( 4800 LocationSummary* result = new(isolate) LocationSummary(
4801 isolate, kNumInputs, kNumTemps, LocationSummary::kNoCall); 4801 isolate, kNumInputs, kNumTemps, LocationSummary::kNoCall);
4802 result->set_in(0, Location::RequiresFpuRegister()); 4802 result->set_in(0, Location::RequiresFpuRegister());
4803 result->set_out(0, Location:: Location::RequiresRegister()); 4803 result->set_out(0, Location::RequiresRegister());
4804 result->set_temp(0, Location::RequiresRegister()); 4804 result->set_temp(0, Location::RequiresRegister());
4805 return result; 4805 return result;
4806 } 4806 }
4807 4807
4808 4808
4809 void DoubleToSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 4809 void DoubleToSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
4810 Label* deopt = compiler->AddDeoptStub(deopt_id(), ICData::kDeoptDoubleToSmi); 4810 Label* deopt = compiler->AddDeoptStub(deopt_id(), ICData::kDeoptDoubleToSmi);
4811 Register result = locs()->out(0).reg(); 4811 Register result = locs()->out(0).reg();
4812 XmmRegister value = locs()->in(0).fpu_reg(); 4812 XmmRegister value = locs()->in(0).fpu_reg();
4813 Register temp = locs()->temp(0).reg(); 4813 Register temp = locs()->temp(0).reg();
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
5817 PcDescriptors::kOther, 5817 PcDescriptors::kOther,
5818 locs()); 5818 locs());
5819 __ Drop(ArgumentCount()); // Discard arguments. 5819 __ Drop(ArgumentCount()); // Discard arguments.
5820 } 5820 }
5821 5821
5822 } // namespace dart 5822 } // namespace dart
5823 5823
5824 #undef __ 5824 #undef __
5825 5825
5826 #endif // defined TARGET_ARCH_X64 5826 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/locations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698