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

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

Issue 888005: Fix issues with compiling V8 with LLVM Clang... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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/heap.cc ('k') | src/mips/simulator-mips.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 RecordWriteStub stub(object, dst, value); 179 RecordWriteStub stub(object, dst, value);
180 CallStub(&stub); 180 CallStub(&stub);
181 } 181 }
182 } 182 }
183 183
184 bind(&done); 184 bind(&done);
185 185
186 // Clobber all input registers when running with the debug-code flag 186 // Clobber all input registers when running with the debug-code flag
187 // turned on to provoke errors. 187 // turned on to provoke errors.
188 if (FLAG_debug_code) { 188 if (FLAG_debug_code) {
189 mov(object, Immediate(bit_cast<int32_t>(kZapValue))); 189 mov(object, Immediate(BitCast<int32_t>(kZapValue)));
190 mov(value, Immediate(bit_cast<int32_t>(kZapValue))); 190 mov(value, Immediate(BitCast<int32_t>(kZapValue)));
191 mov(scratch, Immediate(bit_cast<int32_t>(kZapValue))); 191 mov(scratch, Immediate(BitCast<int32_t>(kZapValue)));
192 } 192 }
193 } 193 }
194 194
195 195
196 void MacroAssembler::StackLimitCheck(Label* on_stack_overflow) { 196 void MacroAssembler::StackLimitCheck(Label* on_stack_overflow) {
197 cmp(esp, 197 cmp(esp,
198 Operand::StaticVariable(ExternalReference::address_of_stack_limit())); 198 Operand::StaticVariable(ExternalReference::address_of_stack_limit()));
199 j(below, on_stack_overflow); 199 j(below, on_stack_overflow);
200 } 200 }
201 201
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 // Indicate that code has changed. 1644 // Indicate that code has changed.
1645 CPU::FlushICache(address_, size_); 1645 CPU::FlushICache(address_, size_);
1646 1646
1647 // Check that the code was patched as expected. 1647 // Check that the code was patched as expected.
1648 ASSERT(masm_.pc_ == address_ + size_); 1648 ASSERT(masm_.pc_ == address_ + size_);
1649 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); 1649 ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap);
1650 } 1650 }
1651 1651
1652 1652
1653 } } // namespace v8::internal 1653 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/mips/simulator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698