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/mips/macro-assembler-mips.h

Issue 13818013: Merged r13798, r13802, r13803, r13804, r13805, r14100 into 3.17 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.17
Patch Set: Created 7 years, 8 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/mips/lithium-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 1538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 1549
1550 // Emit an address directly. 1550 // Emit an address directly.
1551 void Emit(Address addr); 1551 void Emit(Address addr);
1552 1552
1553 // Change the condition part of an instruction leaving the rest of the current 1553 // Change the condition part of an instruction leaving the rest of the current
1554 // instruction unchanged. 1554 // instruction unchanged.
1555 void ChangeBranchCondition(Condition cond); 1555 void ChangeBranchCondition(Condition cond);
1556 1556
1557 private: 1557 private:
1558 byte* address_; // The address of the code being patched. 1558 byte* address_; // The address of the code being patched.
1559 int instructions_; // Number of instructions of the expected patch size.
1560 int size_; // Number of bytes of the expected patch size. 1559 int size_; // Number of bytes of the expected patch size.
1561 MacroAssembler masm_; // Macro assembler used to generate the code. 1560 MacroAssembler masm_; // Macro assembler used to generate the code.
1562 }; 1561 };
1563 1562
1564 1563
1565 1564
1566 #ifdef GENERATED_CODE_COVERAGE 1565 #ifdef GENERATED_CODE_COVERAGE
1567 #define CODE_COVERAGE_STRINGIFY(x) #x 1566 #define CODE_COVERAGE_STRINGIFY(x) #x
1568 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1567 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1569 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1568 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1569 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1571 #else 1570 #else
1572 #define ACCESS_MASM(masm) masm-> 1571 #define ACCESS_MASM(masm) masm->
1573 #endif 1572 #endif
1574 1573
1575 } } // namespace v8::internal 1574 } } // namespace v8::internal
1576 1575
1577 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1576 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698