Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 6a49e5708de953eb5cb74e88906afe9526c18b79..e4f5e8262e69fc2aa4591c01c367da9dfe0dcb63 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1078,6 +1078,10 @@ class HGraphBuilder { |
HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); |
+ HValue* LoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); |
+ |
+ void AddSoftDeoptimize(); |
+ |
class IfBuilder { |
public: |
explicit IfBuilder(HGraphBuilder* builder, |
@@ -1360,6 +1364,9 @@ class HGraphBuilder { |
ElementsKind kind, |
int length); |
+ HInstruction* BuildUnaryMathOp( |
+ HValue* value, Handle<Type> type, Token::Value token); |
+ |
void BuildCompareNil( |
HValue* value, |
Handle<Type> type, |
@@ -1447,8 +1454,6 @@ class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { |
bool inline_bailout() { return inline_bailout_; } |
- void AddSoftDeoptimize(); |
- |
void Bailout(const char* reason); |
HBasicBlock* CreateJoin(HBasicBlock* first, |
@@ -1632,9 +1637,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); |