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

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

Issue 12506006: MIPS: Fixed ASSERT in commit r13807. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 7083 matching lines...) Expand 10 before | Expand all | Expand 10 after
7094 __ LoadRoot(at, Heap::kUndefinedValueRootIndex); 7094 __ LoadRoot(at, Heap::kUndefinedValueRootIndex);
7095 __ Branch(&unordered, eq, a1, Operand(at)); 7095 __ Branch(&unordered, eq, a1, Operand(at));
7096 } 7096 }
7097 7097
7098 __ bind(&miss); 7098 __ bind(&miss);
7099 GenerateMiss(masm); 7099 GenerateMiss(masm);
7100 } 7100 }
7101 7101
7102 7102
7103 void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) { 7103 void ICCompareStub::GenerateInternalizedStrings(MacroAssembler* masm) {
7104 ASSERT(state_ == CompareIC::SYMBOL); 7104 ASSERT(state_ == CompareIC::INTERNALIZED_STRING);
7105 Label miss; 7105 Label miss;
7106 7106
7107 // Registers containing left and right operands respectively. 7107 // Registers containing left and right operands respectively.
7108 Register left = a1; 7108 Register left = a1;
7109 Register right = a0; 7109 Register right = a0;
7110 Register tmp1 = a2; 7110 Register tmp1 = a2;
7111 Register tmp2 = a3; 7111 Register tmp2 = a3;
7112 7112
7113 // Check that both operands are heap objects. 7113 // Check that both operands are heap objects.
7114 __ JumpIfEitherSmi(left, right, &miss); 7114 __ JumpIfEitherSmi(left, right, &miss);
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
8022 __ Pop(ra, t1, a1); 8022 __ Pop(ra, t1, a1);
8023 __ Ret(); 8023 __ Ret();
8024 } 8024 }
8025 8025
8026 8026
8027 #undef __ 8027 #undef __
8028 8028
8029 } } // namespace v8::internal 8029 } } // namespace v8::internal
8030 8030
8031 #endif // V8_TARGET_ARCH_MIPS 8031 #endif // V8_TARGET_ARCH_MIPS
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