| Index: src/hydrogen-instructions.cc
|
| diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc
|
| index d9590a946e28a21ae10120df6f243c03f901ac97..6e479979084d108beaf90b46a2989dcc6bfb1e32 100644
|
| --- a/src/hydrogen-instructions.cc
|
| +++ b/src/hydrogen-instructions.cc
|
| @@ -1036,6 +1036,17 @@ void HJSArrayLength::PrintDataTo(StringStream* stream) {
|
| }
|
|
|
|
|
| +HJSArrayLength* HJSArrayLength::Create(HGraph* graph,
|
| + HValue* value,
|
| + HValue* typecheck,
|
| + HType type) {
|
| + HJSArrayLength* result = new(graph->zone())
|
| + HJSArrayLength(value, typecheck, type);
|
| + graph->RecordJSArrayLength(result);
|
| + return result;
|
| +}
|
| +
|
| +
|
| HValue* HUnaryMathOperation::Canonicalize() {
|
| if (op() == kMathFloor) {
|
| // If the input is integer32 then we replace the floor instruction
|
|
|