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

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

Issue 1000007: Fix formatting around * and &. (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/ia32/macro-assembler-ia32.h ('k') | src/runtime.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 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 push(Immediate(reinterpret_cast<intptr_t>(Smi::FromInt(p1 - p0)))); 1546 push(Immediate(reinterpret_cast<intptr_t>(Smi::FromInt(p1 - p0))));
1547 CallRuntime(Runtime::kAbort, 2); 1547 CallRuntime(Runtime::kAbort, 2);
1548 // will not return here 1548 // will not return here
1549 int3(); 1549 int3();
1550 } 1550 }
1551 1551
1552 1552
1553 void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii( 1553 void MacroAssembler::JumpIfInstanceTypeIsNotSequentialAscii(
1554 Register instance_type, 1554 Register instance_type,
1555 Register scratch, 1555 Register scratch,
1556 Label *failure) { 1556 Label* failure) {
1557 if (!scratch.is(instance_type)) { 1557 if (!scratch.is(instance_type)) {
1558 mov(scratch, instance_type); 1558 mov(scratch, instance_type);
1559 } 1559 }
1560 and_(scratch, 1560 and_(scratch,
1561 kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask); 1561 kIsNotStringMask | kStringRepresentationMask | kStringEncodingMask);
1562 cmp(scratch, kStringTag | kSeqStringTag | kAsciiStringTag); 1562 cmp(scratch, kStringTag | kSeqStringTag | kAsciiStringTag);
1563 j(not_equal, failure); 1563 j(not_equal, failure);
1564 } 1564 }
1565 1565
1566 1566
(...skipping 77 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/ia32/macro-assembler-ia32.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698