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

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

Issue 132233055: Consistenly use stderr for printing simulator and debug messages (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 | « src/a64/instrument-a64.cc ('k') | src/a64/simulator-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 1720
1721 // Abort if 'object' register doesn't point to a string object. 1721 // Abort if 'object' register doesn't point to a string object.
1722 // 1722 //
1723 // If emit_debug_code() is false, this emits no code. 1723 // If emit_debug_code() is false, this emits no code.
1724 void AssertIsString(const Register& object); 1724 void AssertIsString(const Register& object);
1725 1725
1726 // Like Assert(), but always enabled. 1726 // Like Assert(), but always enabled.
1727 void Check(Condition cond, const char* msg); 1727 void Check(Condition cond, const char* msg);
1728 void CheckRegisterIsClear(Register reg, const char* msg); 1728 void CheckRegisterIsClear(Register reg, const char* msg);
1729 1729
1730 // Print a message to stdout and abort execution. 1730 // Print a message to stderr and abort execution.
1731 void Abort(const char* msg); 1731 void Abort(const char* msg);
1732 1732
1733 // Conditionally load the cached Array transitioned map of type 1733 // Conditionally load the cached Array transitioned map of type
1734 // transitioned_kind from the native context if the map in register 1734 // transitioned_kind from the native context if the map in register
1735 // map_in_out is the cached Array map in the native context of 1735 // map_in_out is the cached Array map in the native context of
1736 // expected_kind. 1736 // expected_kind.
1737 void LoadTransitionedArrayMapConditional( 1737 void LoadTransitionedArrayMapConditional(
1738 ElementsKind expected_kind, 1738 ElementsKind expected_kind,
1739 ElementsKind transitioned_kind, 1739 ElementsKind transitioned_kind,
1740 Register map_in_out, 1740 Register map_in_out,
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 #error "Unsupported option" 2119 #error "Unsupported option"
2120 #define CODE_COVERAGE_STRINGIFY(x) #x 2120 #define CODE_COVERAGE_STRINGIFY(x) #x
2121 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2121 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2122 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2122 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2123 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2123 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2124 #else 2124 #else
2125 #define ACCESS_MASM(masm) masm-> 2125 #define ACCESS_MASM(masm) masm->
2126 #endif 2126 #endif
2127 2127
2128 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ 2128 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/instrument-a64.cc ('k') | src/a64/simulator-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698