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

Side by Side Diff: src/ia32/macro-assembler-ia32.h

Issue 197873029: Tweaked FlooringDiv back to TruncatingDiv again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-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 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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } 855 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); }
856 856
857 Handle<Object> CodeObject() { 857 Handle<Object> CodeObject() {
858 ASSERT(!code_object_.is_null()); 858 ASSERT(!code_object_.is_null());
859 return code_object_; 859 return code_object_;
860 } 860 }
861 861
862 // Insert code to verify that the x87 stack has the specified depth (0-7) 862 // Insert code to verify that the x87 stack has the specified depth (0-7)
863 void VerifyX87StackDepth(uint32_t depth); 863 void VerifyX87StackDepth(uint32_t depth);
864 864
865 // Emit code for a flooring division by a constant. The dividend register is 865 // Emit code for a truncating division by a constant. The dividend register is
866 // unchanged, the result is in edx, and eax gets clobbered. 866 // unchanged, the result is in edx, and eax gets clobbered.
867 void FlooringDiv(Register dividend, int32_t divisor); 867 void TruncatingDiv(Register dividend, int32_t divisor);
868 868
869 // --------------------------------------------------------------------------- 869 // ---------------------------------------------------------------------------
870 // StatsCounter support 870 // StatsCounter support
871 871
872 void SetCounter(StatsCounter* counter, int value); 872 void SetCounter(StatsCounter* counter, int value);
873 void IncrementCounter(StatsCounter* counter, int value); 873 void IncrementCounter(StatsCounter* counter, int value);
874 void DecrementCounter(StatsCounter* counter, int value); 874 void DecrementCounter(StatsCounter* counter, int value);
875 void IncrementCounter(Condition cc, StatsCounter* counter, int value); 875 void IncrementCounter(Condition cc, StatsCounter* counter, int value);
876 void DecrementCounter(Condition cc, StatsCounter* counter, int value); 876 void DecrementCounter(Condition cc, StatsCounter* counter, int value);
877 877
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 } \ 1125 } \
1126 masm-> 1126 masm->
1127 #else 1127 #else
1128 #define ACCESS_MASM(masm) masm-> 1128 #define ACCESS_MASM(masm) masm->
1129 #endif 1129 #endif
1130 1130
1131 1131
1132 } } // namespace v8::internal 1132 } } // namespace v8::internal
1133 1133
1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1134 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698