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

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

Issue 23480031: Enable preaging of code objects when --optimize-for-size. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: bool -> enum Created 7 years, 1 month 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/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-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 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 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 void NumberOfOwnDescriptors(Register dst, Register map); 1491 void NumberOfOwnDescriptors(Register dst, Register map);
1492 1492
1493 template<typename Field> 1493 template<typename Field>
1494 void DecodeField(Register reg) { 1494 void DecodeField(Register reg) {
1495 static const int shift = Field::kShift; 1495 static const int shift = Field::kShift;
1496 static const int mask = (Field::kMask >> shift) << kSmiTagSize; 1496 static const int mask = (Field::kMask >> shift) << kSmiTagSize;
1497 srl(reg, reg, shift); 1497 srl(reg, reg, shift);
1498 And(reg, reg, Operand(mask)); 1498 And(reg, reg, Operand(mask));
1499 } 1499 }
1500 1500
1501 // Generates function and stub prologue code.
1502 void Prologue(PrologueFrameMode frame_mode);
1503
1501 // Activation support. 1504 // Activation support.
1502 void EnterFrame(StackFrame::Type type); 1505 void EnterFrame(StackFrame::Type type);
1503 void LeaveFrame(StackFrame::Type type); 1506 void LeaveFrame(StackFrame::Type type);
1504 1507
1505 // Patch the relocated value (lui/ori pair). 1508 // Patch the relocated value (lui/ori pair).
1506 void PatchRelocatedValue(Register li_location, 1509 void PatchRelocatedValue(Register li_location,
1507 Register scratch, 1510 Register scratch,
1508 Register new_value); 1511 Register new_value);
1509 // Get the relocatad value (loaded data) from the lui/ori pair. 1512 // Get the relocatad value (loaded data) from the lui/ori pair.
1510 void GetRelocatedValue(Register li_location, 1513 void GetRelocatedValue(Register li_location,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1656 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1654 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1657 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1655 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1658 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1656 #else 1659 #else
1657 #define ACCESS_MASM(masm) masm-> 1660 #define ACCESS_MASM(masm) masm->
1658 #endif 1661 #endif
1659 1662
1660 } } // namespace v8::internal 1663 } } // namespace v8::internal
1661 1664
1662 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1665 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698