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

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

Issue 8366031: MIPS: Porting r9605 to arm (elements kind conversion in generated code). (Closed)
Patch Set: Remove unneeded moves to v0, per review comments. Created 9 years, 2 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
« no previous file with comments | « no previous file | src/mips/codegen-mips.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 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 7189 matching lines...) Expand 10 before | Expand all | Expand 10 after
7200 // Used in CompileStoreGlobal. 7200 // Used in CompileStoreGlobal.
7201 { t0, a1, a2, OMIT_REMEMBERED_SET }, 7201 { t0, a1, a2, OMIT_REMEMBERED_SET },
7202 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField. 7202 // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField.
7203 { a1, a2, a3, EMIT_REMEMBERED_SET }, 7203 { a1, a2, a3, EMIT_REMEMBERED_SET },
7204 { a3, a2, a1, EMIT_REMEMBERED_SET }, 7204 { a3, a2, a1, EMIT_REMEMBERED_SET },
7205 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. 7205 // Used in KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField.
7206 { a2, a1, a3, EMIT_REMEMBERED_SET }, 7206 { a2, a1, a3, EMIT_REMEMBERED_SET },
7207 { a3, a1, a2, EMIT_REMEMBERED_SET }, 7207 { a3, a1, a2, EMIT_REMEMBERED_SET },
7208 // KeyedStoreStubCompiler::GenerateStoreFastElement. 7208 // KeyedStoreStubCompiler::GenerateStoreFastElement.
7209 { t0, a2, a3, EMIT_REMEMBERED_SET }, 7209 { t0, a2, a3, EMIT_REMEMBERED_SET },
7210 // ElementsTransitionGenerator::GenerateSmiOnlyToObject
7211 // and ElementsTransitionGenerator::GenerateSmiOnlyToDouble
7212 // and ElementsTransitionGenerator::GenerateDoubleToObject
7213 { a2, a3, t5, EMIT_REMEMBERED_SET },
7214 // ElementsTransitionGenerator::GenerateDoubleToObject
7215 { t2, a2, a0, EMIT_REMEMBERED_SET },
7216 { a2, t2, t5, EMIT_REMEMBERED_SET },
7210 // Null termination. 7217 // Null termination.
7211 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET} 7218 { no_reg, no_reg, no_reg, EMIT_REMEMBERED_SET}
7212 }; 7219 };
7213 7220
7214 7221
7215 bool RecordWriteStub::IsPregenerated() { 7222 bool RecordWriteStub::IsPregenerated() {
7216 for (AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime; 7223 for (AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime;
7217 !entry->object.is(no_reg); 7224 !entry->object.is(no_reg);
7218 entry++) { 7225 entry++) {
7219 if (object_.is(entry->object) && 7226 if (object_.is(entry->object) &&
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
7444 7451
7445 // Fall through when we need to inform the incremental marker. 7452 // Fall through when we need to inform the incremental marker.
7446 } 7453 }
7447 7454
7448 7455
7449 #undef __ 7456 #undef __
7450 7457
7451 } } // namespace v8::internal 7458 } } // namespace v8::internal
7452 7459
7453 #endif // V8_TARGET_ARCH_MIPS 7460 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips/codegen-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698