Reviewers: jarin,
Description:
Fix build failures with LLVM-GCC 4.2 on Mac (again).
[email protected]
Please review this at https://codereview.chromium.org/431633002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+6, -5 lines):
M src/compiler/common-operator.h
Index: src/compiler/common-operator.h
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
index
d5252877b0440b1cb985a40510fd75ee986afcac..ca9120fc6c6f32fe052240b04228b5d79f3d4977
100644
--- a/src/compiler/common-operator.h
+++ b/src/compiler/common-operator.h
@@ -24,8 +24,8 @@ class ControlOperator : public Operator1<int> {
public:
ControlOperator(IrOpcode::Value opcode, uint16_t properties, int inputs,
int outputs, int controls, const char* mnemonic)
- : Operator1(static_cast<uint8_t>(opcode), properties, inputs,
outputs,
- mnemonic, controls) {}
+ : Operator1<int>(static_cast<uint8_t>(opcode), properties, inputs,
+ outputs, mnemonic, controls) {}
virtual OStream& PrintParameter(OStream& os) const { return os; } //
NOLINT
int ControlInputCount() const { return parameter(); }
@@ -34,9 +34,10 @@ class ControlOperator : public Operator1<int> {
class CallOperator : public Operator1<CallDescriptor*> {
public:
CallOperator(CallDescriptor* descriptor, const char* mnemonic)
- : Operator1(static_cast<uint8_t>(IrOpcode::kCall),
- descriptor->properties(), descriptor->InputCount(),
- descriptor->ReturnCount(), mnemonic, descriptor) {}
+ : Operator1<CallDescriptor*>(
+ static_cast<uint8_t>(IrOpcode::kCall),
descriptor->properties(),
+ descriptor->InputCount(), descriptor->ReturnCount(), mnemonic,
+ descriptor) {}
virtual OStream& PrintParameter(OStream& os) const { // NOLINT
return os << "[" << *parameter() << "]";
--
--
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/d/optout.