| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index c1dafa8b5a7a73171c3c6c693f60210656ccac27..da359aa3f814b930e95117e0377cc3f4c8465a66 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -1260,10 +1260,26 @@ class HGraphBuilder {
|
| HInstruction* BuildLoadStringLength(HValue* object, HValue* checked_value);
|
| HStoreNamedField* AddStoreMapConstant(HValue* object, Handle<Map>);
|
| HLoadNamedField* AddLoadElements(HValue* object);
|
| +
|
| + bool MatchRotateRight(HValue* left,
|
| + HValue* right,
|
| + HValue** operand,
|
| + HValue** shift_amount);
|
| +
|
| + HInstruction* BuildBinaryOperation(Token::Value op,
|
| + HValue* left,
|
| + HValue* right,
|
| + Handle<Type> left_type,
|
| + Handle<Type> right_type,
|
| + Handle<Type> result_type,
|
| + Maybe<int> fixed_right_arg,
|
| + HValue* context);
|
| +
|
| HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
|
|
|
| HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin);
|
|
|
| + HValue* EnforceNumberType(HValue* number, Handle<Type> expected);
|
| HValue* TruncateToNumber(HValue* value, Handle<Type>* expected);
|
|
|
| void PushAndAdd(HInstruction* instr);
|
| @@ -1306,6 +1322,17 @@ class HGraphBuilder {
|
| return compare;
|
| }
|
|
|
| + template<class Condition>
|
| + HInstruction* IfNot(HValue* p1) {
|
| + HControlInstruction* compare = new(zone()) Condition(p1);
|
| + AddCompare(compare);
|
| + HBasicBlock* block0 = compare->SuccessorAt(0);
|
| + HBasicBlock* block1 = compare->SuccessorAt(1);
|
| + compare->SetSuccessorAt(0, block1);
|
| + compare->SetSuccessorAt(1, block0);
|
| + return compare;
|
| + }
|
| +
|
| template<class Condition, class P2>
|
| HInstruction* IfNot(HValue* p1, P2 p2) {
|
| HControlInstruction* compare = new(zone()) Condition(p1, p2);
|
| @@ -2112,11 +2139,6 @@ class HOptimizedGraphBuilder V8_FINAL
|
| HValue* receiver,
|
| Handle<Map> receiver_map);
|
|
|
| - bool MatchRotateRight(HValue* left,
|
| - HValue* right,
|
| - HValue** operand,
|
| - HValue** shift_amount);
|
| -
|
| // The translation state of the currently-being-translated function.
|
| FunctionState* function_state_;
|
|
|
|
|