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

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

Issue 12087131: Make the arm port build cleanly with Clang. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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 | « no previous file | src/arm/macro-assembler-arm.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 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 1400
1401 // Emit an address directly. 1401 // Emit an address directly.
1402 void Emit(Address addr); 1402 void Emit(Address addr);
1403 1403
1404 // Emit the condition part of an instruction leaving the rest of the current 1404 // Emit the condition part of an instruction leaving the rest of the current
1405 // instruction unchanged. 1405 // instruction unchanged.
1406 void EmitCondition(Condition cond); 1406 void EmitCondition(Condition cond);
1407 1407
1408 private: 1408 private:
1409 byte* address_; // The address of the code being patched. 1409 byte* address_; // The address of the code being patched.
1410 int instructions_; // Number of instructions of the expected patch size.
1411 int size_; // Number of bytes of the expected patch size. 1410 int size_; // Number of bytes of the expected patch size.
1412 MacroAssembler masm_; // Macro assembler used to generate the code. 1411 MacroAssembler masm_; // Macro assembler used to generate the code.
1413 }; 1412 };
1414 1413
1415 1414
1416 // ----------------------------------------------------------------------------- 1415 // -----------------------------------------------------------------------------
1417 // Static helper functions. 1416 // Static helper functions.
1418 1417
1419 inline MemOperand ContextOperand(Register context, int index) { 1418 inline MemOperand ContextOperand(Register context, int index) {
1420 return MemOperand(context, Context::SlotOffset(index)); 1419 return MemOperand(context, Context::SlotOffset(index));
(...skipping 11 matching lines...) Expand all
1432 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1431 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1433 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1432 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1434 #else 1433 #else
1435 #define ACCESS_MASM(masm) masm-> 1434 #define ACCESS_MASM(masm) masm->
1436 #endif 1435 #endif
1437 1436
1438 1437
1439 } } // namespace v8::internal 1438 } } // namespace v8::internal
1440 1439
1441 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1440 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698