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

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

Issue 5986014: Remove RecordWriteStub from X64 and ARM platforms. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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/arm/code-stubs-arm.h ('k') | src/arm/codegen-arm.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 GenerateLookupNumberStringCache(masm, r1, r0, r2, r3, r4, false, &runtime); 910 GenerateLookupNumberStringCache(masm, r1, r0, r2, r3, r4, false, &runtime);
911 __ add(sp, sp, Operand(1 * kPointerSize)); 911 __ add(sp, sp, Operand(1 * kPointerSize));
912 __ Ret(); 912 __ Ret();
913 913
914 __ bind(&runtime); 914 __ bind(&runtime);
915 // Handle number to string in the runtime system if not found in the cache. 915 // Handle number to string in the runtime system if not found in the cache.
916 __ TailCallRuntime(Runtime::kNumberToStringSkipCache, 1, 1); 916 __ TailCallRuntime(Runtime::kNumberToStringSkipCache, 1, 1);
917 } 917 }
918 918
919 919
920 void RecordWriteStub::Generate(MacroAssembler* masm) {
921 __ add(offset_, object_, Operand(offset_));
922 __ RecordWriteHelper(object_, offset_, scratch_);
923 __ Ret();
924 }
925
926
927 // On entry lhs_ and rhs_ are the values to be compared. 920 // On entry lhs_ and rhs_ are the values to be compared.
928 // On exit r0 is 0, positive or negative to indicate the result of 921 // On exit r0 is 0, positive or negative to indicate the result of
929 // the comparison. 922 // the comparison.
930 void CompareStub::Generate(MacroAssembler* masm) { 923 void CompareStub::Generate(MacroAssembler* masm) {
931 ASSERT((lhs_.is(r0) && rhs_.is(r1)) || 924 ASSERT((lhs_.is(r0) && rhs_.is(r1)) ||
932 (lhs_.is(r1) && rhs_.is(r0))); 925 (lhs_.is(r1) && rhs_.is(r0)));
933 926
934 Label slow; // Call builtin. 927 Label slow; // Call builtin.
935 Label not_smis, both_loaded_as_doubles, lhs_not_nan; 928 Label not_smis, both_loaded_as_doubles, lhs_not_nan;
936 929
(...skipping 4043 matching lines...) Expand 10 before | Expand all | Expand 10 after
4980 __ pop(r1); 4973 __ pop(r1);
4981 __ Jump(r2); 4974 __ Jump(r2);
4982 } 4975 }
4983 4976
4984 4977
4985 #undef __ 4978 #undef __
4986 4979
4987 } } // namespace v8::internal 4980 } } // namespace v8::internal
4988 4981
4989 #endif // V8_TARGET_ARCH_ARM 4982 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.h ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698