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

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

Issue 754763003: Version 1.8.3 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.8/
Patch Set: Created 6 years 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 | « dart/runtime/vm/intermediate_language_ia32.cc ('k') | dart/runtime/vm/method_recognizer.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 3398 matching lines...) Expand 10 before | Expand all | Expand 10 after
3409 __ movsxd(out, value); 3409 __ movsxd(out, value);
3410 } else { 3410 } else {
3411 ASSERT(from_representation() == kUnboxedUint32); 3411 ASSERT(from_representation() == kUnboxedUint32);
3412 __ movl(out, value); 3412 __ movl(out, value);
3413 } 3413 }
3414 __ SmiTag(out); 3414 __ SmiTag(out);
3415 } 3415 }
3416 3416
3417 3417
3418 LocationSummary* BoxInt64Instr::MakeLocationSummary(Isolate* isolate, 3418 LocationSummary* BoxInt64Instr::MakeLocationSummary(Isolate* isolate,
3419 bool opt) const { 3419 bool opt) const {
3420 const intptr_t kNumInputs = 1; 3420 const intptr_t kNumInputs = 1;
3421 const intptr_t kNumTemps = 0; 3421 const intptr_t kNumTemps = 0;
3422 LocationSummary* summary = new(isolate) LocationSummary( 3422 LocationSummary* summary = new(isolate) LocationSummary(
3423 isolate, 3423 isolate,
3424 kNumInputs, 3424 kNumInputs,
3425 kNumTemps, 3425 kNumTemps,
3426 ValueFitsSmi() ? LocationSummary::kNoCall 3426 ValueFitsSmi() ? LocationSummary::kNoCall
3427 : LocationSummary::kCallOnSlowPath); 3427 : LocationSummary::kCallOnSlowPath);
3428 summary->set_in(0, Location::RequiresRegister()); 3428 summary->set_in(0, Location::RequiresRegister());
3429 summary->set_out(0, Location::RequiresRegister()); 3429 summary->set_out(0, Location::RequiresRegister());
(...skipping 2838 matching lines...) Expand 10 before | Expand all | Expand 10 after
6268 __ movq(R10, Immediate(kInvalidObjectPointer)); 6268 __ movq(R10, Immediate(kInvalidObjectPointer));
6269 __ movq(RBX, Immediate(kInvalidObjectPointer)); 6269 __ movq(RBX, Immediate(kInvalidObjectPointer));
6270 #endif 6270 #endif
6271 } 6271 }
6272 6272
6273 } // namespace dart 6273 } // namespace dart
6274 6274
6275 #undef __ 6275 #undef __
6276 6276
6277 #endif // defined TARGET_ARCH_X64 6277 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « dart/runtime/vm/intermediate_language_ia32.cc ('k') | dart/runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698