Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index f80aca1e3cddfb3317ce33a4d08853efdfebf32e..b3a57c06491553ae50ed8aa516d72259ece0f95c 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1129,6 +1129,10 @@ class HGraphBuilder { |
HLoadNamedField* AddLoadFixedArrayLength(HValue *object); |
+ HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); |
+ |
+ void AddSoftDeoptimize(); |
+ |
class IfBuilder { |
public: |
explicit IfBuilder(HGraphBuilder* builder, |
@@ -1409,6 +1413,9 @@ class HGraphBuilder { |
ElementsKind kind, |
int length); |
+ HInstruction* BuildUnaryMathOp( |
+ HValue* value, Handle<Type> type, Token::Value token); |
+ |
void BuildCompareNil( |
HValue* value, |
Handle<Type> type, |
@@ -1495,8 +1502,6 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { |
bool inline_bailout() { return inline_bailout_; } |
- void AddSoftDeoptimize(); |
- |
void Bailout(const char* reason); |
HBasicBlock* CreateJoin(HBasicBlock* first, |
@@ -1676,9 +1681,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); |