| Index: src/crankshaft/hydrogen.h
|
| diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h
|
| index 1b445736c7d24ef151473384069aa61c5340f8e5..60a6f743a28a5a06b0959c17880b70aae737b598 100644
|
| --- a/src/crankshaft/hydrogen.h
|
| +++ b/src/crankshaft/hydrogen.h
|
| @@ -1801,9 +1801,11 @@ class HGraphBuilder {
|
| HValue* previous_object_size,
|
| HValue* payload);
|
|
|
| - HInstruction* BuildConstantMapCheck(Handle<JSObject> constant);
|
| + HInstruction* BuildConstantMapCheck(Handle<JSObject> constant,
|
| + bool ensure_no_elements = false);
|
| HInstruction* BuildCheckPrototypeMaps(Handle<JSObject> prototype,
|
| - Handle<JSObject> holder);
|
| + Handle<JSObject> holder,
|
| + bool ensure_no_elements = false);
|
|
|
| HInstruction* BuildGetNativeContext(HValue* closure);
|
| HInstruction* BuildGetNativeContext();
|
| @@ -2377,6 +2379,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder,
|
| TailCallMode syntactic_tail_call_mode);
|
| static bool IsReadOnlyLengthDescriptor(Handle<Map> jsarray_map);
|
| static bool CanInlineArrayResizeOperation(Handle<Map> receiver_map);
|
| + static bool NoElementsInPrototypeChain(Handle<Map> receiver_map);
|
|
|
| // If --trace-inlining, print a line of the inlining trace. Inlining
|
| // succeeded if the reason string is NULL and failed if there is a
|
|
|