Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 46a0cb5ca3fcb6a9af7c0991e3843fd641498b02..a51827b28f51cf6817fcce4ba8cf0da9a7bee472 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -509,9 +509,6 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
Variable* var_handler, Label* if_miss, |
int unroll_count); |
- void HandleLoadICHandlerCase(const LoadICParameters* p, |
- compiler::Node* handler, Label* miss); |
- |
compiler::Node* StubCachePrimaryOffset(compiler::Node* name, |
compiler::Node* map); |
@@ -552,6 +549,19 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
compiler::Node* value); |
private: |
+ enum ElementSupport { kOnlyProperties, kSupportElements }; |
+ |
+ void HandleLoadICHandlerCase( |
+ const LoadICParameters* p, compiler::Node* handler, Label* miss, |
+ ElementSupport support_elements = kOnlyProperties); |
+ void EmitBoundsCheck(compiler::Node* object, compiler::Node* elements, |
+ compiler::Node* intptr_key, compiler::Node* is_jsarray, |
+ Label* miss); |
+ void EmitElementLoad(compiler::Node* object, compiler::Node* elements, |
+ compiler::Node* elements_kind, compiler::Node* key, |
+ Label* if_hole, Label* rebox_double, |
+ Variable* var_double_value, Label* miss); |
+ |
compiler::Node* ElementOffsetFromIndex(compiler::Node* index, |
ElementsKind kind, ParameterMode mode, |
int base_size = 0); |