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

Unified Diff: src/compiler/types.h

Issue 2309823002: [turbofan] put src/types.[h/cc] into src/compiler/types.[h/cc] (Closed)
Patch Set: Updates/comments. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/type-cache.h ('k') | src/compiler/types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/types.h
diff --git a/src/types.h b/src/compiler/types.h
similarity index 99%
rename from src/types.h
rename to src/compiler/types.h
index cd8b937e4b1e51c0d70848b2748496af6a9e31ee..c3cd96c64d58cadb47ae0cdac990f15228c1bdd6 100644
--- a/src/types.h
+++ b/src/compiler/types.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8_TYPES_H_
-#define V8_TYPES_H_
+#ifndef V8_COMPILER_TYPES_H_
+#define V8_COMPILER_TYPES_H_
#include "src/conversions.h"
#include "src/handles.h"
@@ -12,6 +12,7 @@
namespace v8 {
namespace internal {
+namespace compiler {
// SUMMARY
//
@@ -242,7 +243,7 @@ namespace internal {
* occur as part of PlainNumber.
*/
-#define PROPER_BITSET_TYPE_LIST(V) \
+#define PROPER_BITSET_TYPE_LIST(V) \
REPRESENTATION_BITSET_TYPE_LIST(V) \
SEMANTIC_BITSET_TYPE_LIST(V)
@@ -336,12 +337,7 @@ class TypeBase {
protected:
friend class Type;
- enum Kind {
- kConstant,
- kTuple,
- kUnion,
- kRange
- };
+ enum Kind { kConstant, kTuple, kUnion, kRange };
Kind kind() const { return kind_; }
explicit TypeBase(Kind kind) : kind_(kind) {}
@@ -776,7 +772,8 @@ struct Bounds {
return that.lower->Is(this->lower) && this->upper->Is(that.upper);
}
};
+} // namespace compiler
} // namespace internal
} // namespace v8
-#endif // V8_TYPES_H_
+#endif // V8_COMPILER_TYPES_H_
« no previous file with comments | « src/compiler/type-cache.h ('k') | src/compiler/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698