| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 3a8d242b8c14d5bcceae6e3207ee15526c228f8f..2f3414eb305e9b4e6479042d69ccf264823916bb 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -1137,6 +1137,8 @@ class HGraphBuilder {
|
|
|
| HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
|
|
|
| + void AddSoftDeoptimize();
|
| +
|
| class IfBuilder {
|
| public:
|
| explicit IfBuilder(HGraphBuilder* builder,
|
| @@ -1417,6 +1419,9 @@ class HGraphBuilder {
|
| ElementsKind kind,
|
| int length);
|
|
|
| + HInstruction* BuildUnaryMathOp(
|
| + HValue* value, Handle<Type> type, Token::Value token);
|
| +
|
| void BuildCompareNil(
|
| HValue* value,
|
| Handle<Type> type,
|
| @@ -1504,8 +1509,6 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
|
|
|
| bool inline_bailout() { return inline_bailout_; }
|
|
|
| - void AddSoftDeoptimize();
|
| -
|
| void Bailout(const char* reason);
|
|
|
| HBasicBlock* CreateJoin(HBasicBlock* first,
|
| @@ -1687,9 +1690,6 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
|
| // to push them as outgoing parameters.
|
| template <class Instruction> HInstruction* PreProcessCall(Instruction* call);
|
|
|
| - static Representation ToRepresentation(TypeInfo info);
|
| - static Representation ToRepresentation(Handle<Type> type);
|
| -
|
| void SetUpScope(Scope* scope);
|
| virtual void VisitStatements(ZoneList<Statement*>* statements);
|
|
|
|
|