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

Side by Side Diff: src/cpu.h

Issue 23629031: Remove V8_WARN_UNUSED_RESULT for simple getters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/platform/condition-variable.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 2006-2013 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // arm features 94 // arm features
95 bool has_idiva() const { return has_idiva_; } 95 bool has_idiva() const { return has_idiva_; }
96 bool has_neon() const { return has_neon_; } 96 bool has_neon() const { return has_neon_; }
97 bool has_thumbee() const { return has_thumbee_; } 97 bool has_thumbee() const { return has_thumbee_; }
98 bool has_vfp() const { return has_vfp_; } 98 bool has_vfp() const { return has_vfp_; }
99 bool has_vfp3() const { return has_vfp3_; } 99 bool has_vfp3() const { return has_vfp3_; }
100 bool has_vfp3_d32() const { return has_vfp3_d32_; } 100 bool has_vfp3_d32() const { return has_vfp3_d32_; }
101 101
102 // Returns the number of processors online. 102 // Returns the number of processors online.
103 static int NumberOfProcessorsOnline() V8_WARN_UNUSED_RESULT; 103 static int NumberOfProcessorsOnline();
104 104
105 // Initializes the cpu architecture support. Called once at VM startup. 105 // Initializes the cpu architecture support. Called once at VM startup.
106 static void SetUp(); 106 static void SetUp();
107 107
108 static bool SupportsCrankshaft(); 108 static bool SupportsCrankshaft();
109 109
110 // Flush instruction cache. 110 // Flush instruction cache.
111 static void FlushICache(void* start, size_t size); 111 static void FlushICache(void* start, size_t size);
112 112
113 private: 113 private:
(...skipping 21 matching lines...) Expand all
135 bool has_neon_; 135 bool has_neon_;
136 bool has_thumbee_; 136 bool has_thumbee_;
137 bool has_vfp_; 137 bool has_vfp_;
138 bool has_vfp3_; 138 bool has_vfp3_;
139 bool has_vfp3_d32_; 139 bool has_vfp3_d32_;
140 }; 140 };
141 141
142 } } // namespace v8::internal 142 } } // namespace v8::internal
143 143
144 #endif // V8_CPU_H_ 144 #endif // V8_CPU_H_
OLDNEW
« no previous file with comments | « no previous file | src/platform/condition-variable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698