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

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

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes Created 6 years, 4 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-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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 void Move(const Operand& dst, const Immediate& x); 850 void Move(const Operand& dst, const Immediate& x);
851 851
852 // Move an immediate into an XMM register. 852 // Move an immediate into an XMM register.
853 void Move(XMMRegister dst, double val); 853 void Move(XMMRegister dst, double val);
854 854
855 // Push a handle value. 855 // Push a handle value.
856 void Push(Handle<Object> handle) { push(Immediate(handle)); } 856 void Push(Handle<Object> handle) { push(Immediate(handle)); }
857 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } 857 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); }
858 858
859 Handle<Object> CodeObject() { 859 Handle<Object> CodeObject() {
860 ASSERT(!code_object_.is_null()); 860 DCHECK(!code_object_.is_null());
861 return code_object_; 861 return code_object_;
862 } 862 }
863 863
864 // Emit code for a truncating division by a constant. The dividend register is 864 // Emit code for a truncating division by a constant. The dividend register is
865 // unchanged, the result is in edx, and eax gets clobbered. 865 // unchanged, the result is in edx, and eax gets clobbered.
866 void TruncatingDiv(Register dividend, int32_t divisor); 866 void TruncatingDiv(Register dividend, int32_t divisor);
867 867
868 // --------------------------------------------------------------------------- 868 // ---------------------------------------------------------------------------
869 // StatsCounter support 869 // StatsCounter support
870 870
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 } \ 1117 } \
1118 masm-> 1118 masm->
1119 #else 1119 #else
1120 #define ACCESS_MASM(masm) masm-> 1120 #define ACCESS_MASM(masm) masm->
1121 #endif 1121 #endif
1122 1122
1123 1123
1124 } } // namespace v8::internal 1124 } } // namespace v8::internal
1125 1125
1126 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1126 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698