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

Unified Diff: src/unique.h

Issue 552653003: [turbofan] Fix the node matchers. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address nit. Created 6 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/x64/instruction-selector-x64.cc ('k') | test/cctest/compiler/test-js-constant-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/unique.h
diff --git a/src/unique.h b/src/unique.h
index b73d7de6feeba2e9f1cc7a62982f02ec2c4faf69..fcb6e3d06a828c358bd5cc82f0fecac0fb510619 100644
--- a/src/unique.h
+++ b/src/unique.h
@@ -32,6 +32,8 @@ class UniqueSet;
template <typename T>
class Unique {
public:
+ Unique<T>() : raw_address_(NULL) {}
+
// TODO(titzer): make private and introduce a uniqueness scope.
explicit Unique(Handle<T> handle) {
if (handle.is_null()) {
@@ -120,8 +122,6 @@ class Unique {
friend class Unique; // For comparing raw_address values.
protected:
- Unique<T>() : raw_address_(NULL) { }
-
Address raw_address_;
Handle<T> handle_;
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | test/cctest/compiler/test-js-constant-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698