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

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

Issue 334763003: Start using OStreams. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Reformatted. Feedback addressed. Created 6 years, 5 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/arm64/code-stubs-arm64.h » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 private: 419 private:
420 Register result1_; 420 Register result1_;
421 Register result2_; 421 Register result2_;
422 Register source_; 422 Register source_;
423 Register zeros_; 423 Register zeros_;
424 424
425 // Minor key encoding in 16 bits. 425 // Minor key encoding in 16 bits.
426 class ModeBits: public BitField<OverwriteMode, 0, 2> {}; 426 class ModeBits: public BitField<OverwriteMode, 0, 2> {};
427 class OpBits: public BitField<Token::Value, 2, 14> {}; 427 class OpBits: public BitField<Token::Value, 2, 14> {};
428 428
429 Major MajorKey() { return ConvertToDouble; } 429 Major MajorKey() const { return ConvertToDouble; }
430 int MinorKey() { 430 int MinorKey() const {
431 // Encode the parameters in a unique 16 bit value. 431 // Encode the parameters in a unique 16 bit value.
432 return result1_.code() + 432 return result1_.code() +
433 (result2_.code() << 4) + 433 (result2_.code() << 4) +
434 (source_.code() << 8) + 434 (source_.code() << 8) +
435 (zeros_.code() << 12); 435 (zeros_.code() << 12);
436 } 436 }
437 437
438 void Generate(MacroAssembler* masm); 438 void Generate(MacroAssembler* masm);
439 }; 439 };
440 440
(...skipping 4631 matching lines...) Expand 10 before | Expand all | Expand 10 after
5072 MemOperand(fp, 6 * kPointerSize), 5072 MemOperand(fp, 6 * kPointerSize),
5073 NULL); 5073 NULL);
5074 } 5074 }
5075 5075
5076 5076
5077 #undef __ 5077 #undef __
5078 5078
5079 } } // namespace v8::internal 5079 } } // namespace v8::internal
5080 5080
5081 #endif // V8_TARGET_ARCH_ARM 5081 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.h ('k') | src/arm64/code-stubs-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698