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

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 140553004: Introduce Assembler::RelocInfoNone static function for X64 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 __ cmpq(kScratchRegister, FieldOperand(object, 1635 __ cmpq(kScratchRegister, FieldOperand(object,
1636 JSDate::kCacheStampOffset)); 1636 JSDate::kCacheStampOffset));
1637 __ j(not_equal, &runtime, Label::kNear); 1637 __ j(not_equal, &runtime, Label::kNear);
1638 __ movp(result, FieldOperand(object, JSDate::kValueOffset + 1638 __ movp(result, FieldOperand(object, JSDate::kValueOffset +
1639 kPointerSize * index->value())); 1639 kPointerSize * index->value()));
1640 __ jmp(&done, Label::kNear); 1640 __ jmp(&done, Label::kNear);
1641 } 1641 }
1642 __ bind(&runtime); 1642 __ bind(&runtime);
1643 __ PrepareCallCFunction(2); 1643 __ PrepareCallCFunction(2);
1644 __ movp(arg_reg_1, object); 1644 __ movp(arg_reg_1, object);
1645 __ Move(arg_reg_2, index, RelocInfo::NONE64); 1645 __ Move(arg_reg_2, index, Assembler::RelocInfoNone());
1646 __ CallCFunction(ExternalReference::get_date_field_function(isolate()), 2); 1646 __ CallCFunction(ExternalReference::get_date_field_function(isolate()), 2);
1647 __ bind(&done); 1647 __ bind(&done);
1648 } 1648 }
1649 } 1649 }
1650 1650
1651 1651
1652 Operand LCodeGen::BuildSeqStringOperand(Register string, 1652 Operand LCodeGen::BuildSeqStringOperand(Register string,
1653 LOperand* index, 1653 LOperand* index,
1654 String::Encoding encoding) { 1654 String::Encoding encoding) {
1655 if (index->IsConstantOperand()) { 1655 if (index->IsConstantOperand()) {
(...skipping 3980 matching lines...) Expand 10 before | Expand all | Expand 10 after
5636 FixedArray::kHeaderSize - kPointerSize)); 5636 FixedArray::kHeaderSize - kPointerSize));
5637 __ bind(&done); 5637 __ bind(&done);
5638 } 5638 }
5639 5639
5640 5640
5641 #undef __ 5641 #undef __
5642 5642
5643 } } // namespace v8::internal 5643 } } // namespace v8::internal
5644 5644
5645 #endif // V8_TARGET_ARCH_X64 5645 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698