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

Side by Side Diff: src/a64/macro-assembler-a64.cc

Issue 167463004: A64: Fix compiler warning in r19444. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | 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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 #ifdef DEBUG 591 #ifdef DEBUG
592 __ bind(&size_check); 592 __ bind(&size_check);
593 #endif 593 #endif
594 // Patch the branch to point to the current position, and emit a branch 594 // Patch the branch to point to the current position, and emit a branch
595 // to the label. 595 // to the label.
596 Instruction* veneer = reinterpret_cast<Instruction*>(pc_); 596 Instruction* veneer = reinterpret_cast<Instruction*>(pc_);
597 RemoveBranchFromLabelLinkChain(branch, label, veneer); 597 RemoveBranchFromLabelLinkChain(branch, label, veneer);
598 branch->SetImmPCOffsetTarget(veneer); 598 branch->SetImmPCOffsetTarget(veneer);
599 b(label); 599 b(label);
600 #ifdef DEBUG 600 #ifdef DEBUG
601 ASSERT(SizeOfCodeGeneratedSince(&size_check) <= kMaxVeneerCodeSize); 601 ASSERT(SizeOfCodeGeneratedSince(&size_check) <=
602 static_cast<uint64_t>(kMaxVeneerCodeSize));
602 size_check.Unuse(); 603 size_check.Unuse();
603 #endif 604 #endif
604 605
605 it_to_delete = it++; 606 it_to_delete = it++;
606 unresolved_branches_.erase(it_to_delete); 607 unresolved_branches_.erase(it_to_delete);
607 } else { 608 } else {
608 ++it; 609 ++it;
609 } 610 }
610 } 611 }
611 } 612 }
(...skipping 4353 matching lines...) Expand 10 before | Expand all | Expand 10 after
4965 } 4966 }
4966 } 4967 }
4967 4968
4968 4969
4969 #undef __ 4970 #undef __
4970 4971
4971 4972
4972 } } // namespace v8::internal 4973 } } // namespace v8::internal
4973 4974
4974 #endif // V8_TARGET_ARCH_A64 4975 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698