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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 7001025: Remove support for branch hints from the IA32 and X64 assembler. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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/assembler-x64.cc ('k') | test/cctest/test-assembler-ia32.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 4841 matching lines...) Expand 10 before | Expand all | Expand 10 after
4852 } 4852 }
4853 4853
4854 4854
4855 void ICCompareStub::GenerateObjects(MacroAssembler* masm) { 4855 void ICCompareStub::GenerateObjects(MacroAssembler* masm) {
4856 ASSERT(state_ == CompareIC::OBJECTS); 4856 ASSERT(state_ == CompareIC::OBJECTS);
4857 Label miss; 4857 Label miss;
4858 Condition either_smi = masm->CheckEitherSmi(rdx, rax); 4858 Condition either_smi = masm->CheckEitherSmi(rdx, rax);
4859 __ j(either_smi, &miss, Label::kNear); 4859 __ j(either_smi, &miss, Label::kNear);
4860 4860
4861 __ CmpObjectType(rax, JS_OBJECT_TYPE, rcx); 4861 __ CmpObjectType(rax, JS_OBJECT_TYPE, rcx);
4862 __ j(not_equal, &miss, not_taken, Label::kNear); 4862 __ j(not_equal, &miss, Label::kNear);
4863 __ CmpObjectType(rdx, JS_OBJECT_TYPE, rcx); 4863 __ CmpObjectType(rdx, JS_OBJECT_TYPE, rcx);
4864 __ j(not_equal, &miss, not_taken, Label::kNear); 4864 __ j(not_equal, &miss, Label::kNear);
4865 4865
4866 ASSERT(GetCondition() == equal); 4866 ASSERT(GetCondition() == equal);
4867 __ subq(rax, rdx); 4867 __ subq(rax, rdx);
4868 __ ret(0); 4868 __ ret(0);
4869 4869
4870 __ bind(&miss); 4870 __ bind(&miss);
4871 GenerateMiss(masm); 4871 GenerateMiss(masm);
4872 } 4872 }
4873 4873
4874 4874
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
5101 __ Drop(1); 5101 __ Drop(1);
5102 __ ret(2 * kPointerSize); 5102 __ ret(2 * kPointerSize);
5103 } 5103 }
5104 5104
5105 5105
5106 #undef __ 5106 #undef __
5107 5107
5108 } } // namespace v8::internal 5108 } } // namespace v8::internal
5109 5109
5110 #endif // V8_TARGET_ARCH_X64 5110 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | test/cctest/test-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698