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

Unified Diff: src/compiler/node-matchers.h

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/machine-operator-unittest.cc ('k') | src/compiler/phi-reducer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/node-matchers.h
diff --git a/src/compiler/node-matchers.h b/src/compiler/node-matchers.h
index 136fa529cd3e99d3d0f301cfb2dbcc96f6e7730c..7e978af8538f6fa7f9168488a072d7331d4f7624 100644
--- a/src/compiler/node-matchers.h
+++ b/src/compiler/node-matchers.h
@@ -67,7 +67,7 @@ struct ValueMatcher : public NodeMatcher {
// A pattern matcher for integer constants.
template <typename T>
-struct IntMatcher V8_FINAL : public ValueMatcher<T> {
+struct IntMatcher FINAL : public ValueMatcher<T> {
explicit IntMatcher(Node* node) : ValueMatcher<T>(node) {}
bool IsPowerOf2() const {
@@ -84,7 +84,7 @@ typedef IntMatcher<uint64_t> Uint64Matcher;
// A pattern matcher for floating point constants.
template <typename T>
-struct FloatMatcher V8_FINAL : public ValueMatcher<T> {
+struct FloatMatcher FINAL : public ValueMatcher<T> {
explicit FloatMatcher(Node* node) : ValueMatcher<T>(node) {}
bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); }
@@ -94,7 +94,7 @@ typedef FloatMatcher<double> Float64Matcher;
// A pattern matcher for heap object constants.
-struct HeapObjectMatcher V8_FINAL
+struct HeapObjectMatcher FINAL
: public ValueMatcher<PrintableUnique<HeapObject> > {
explicit HeapObjectMatcher(Node* node)
: ValueMatcher<PrintableUnique<HeapObject> >(node) {}
@@ -109,7 +109,7 @@ struct HeapObjectMatcher V8_FINAL
// right hand sides of a binary operation and can put constants on the right
// if they appear on the left hand side of a commutative operation.
template <typename Left, typename Right>
-struct BinopMatcher V8_FINAL : public NodeMatcher {
+struct BinopMatcher FINAL : public NodeMatcher {
explicit BinopMatcher(Node* node)
: NodeMatcher(node), left_(InputAt(0)), right_(InputAt(1)) {
if (HasProperty(Operator::kCommutative)) PutConstantOnRight();
« no previous file with comments | « src/compiler/machine-operator-unittest.cc ('k') | src/compiler/phi-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698