Revision: 19162
Author: [email protected]
Date: Thu Feb 6 15:32:42 2014 UTC
Log: A64: Relax assert in register copy ctor.
It's ok to copy a "NoReg"-type regsiter
BUG=none
[email protected], [email protected]
LOG=n
Review URL: https://codereview.chromium.org/140893010
http://code.google.com/p/v8/source/detail?r=19162
Modified:
/branches/experimental/a64/src/a64/assembler-a64.h
=======================================
--- /branches/experimental/a64/src/a64/assembler-a64.h Thu Feb 6 14:30:18
2014 UTC
+++ /branches/experimental/a64/src/a64/assembler-a64.h Thu Feb 6 15:32:42
2014 UTC
@@ -83,6 +83,7 @@
bool Is32Bits() const;
bool Is64Bits() const;
bool IsValid() const;
+ bool IsValidOrNone() const;
bool IsValidRegister() const;
bool IsValidFPRegister() const;
bool IsNone() const;
@@ -108,9 +109,6 @@
unsigned reg_code;
unsigned reg_size;
RegisterType reg_type;
-
- private:
- bool IsValidOrNone() const;
};
@@ -129,7 +127,7 @@
reg_code = r.reg_code;
reg_size = r.reg_size;
reg_type = r.reg_type;
- ASSERT(IsValid());
+ ASSERT(IsValidOrNone());
}
bool IsValid() const {
@@ -232,7 +230,7 @@
reg_code = r.reg_code;
reg_size = r.reg_size;
reg_type = r.reg_type;
- ASSERT(IsValid());
+ ASSERT(IsValidOrNone());
}
bool IsValid() const {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.