| Index: src/code-stub-assembler.h
|
| diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
|
| index da5f5b72c96225ed304be6b1f17d0b4478c347d5..cc6d9c39e0d6cc870a78d69eafb412f5fa2d7839 100644
|
| --- a/src/code-stub-assembler.h
|
| +++ b/src/code-stub-assembler.h
|
| @@ -474,6 +474,15 @@ class CodeStubAssembler : public compiler::CodeAssembler {
|
| void LoadIC(const LoadICParameters* p);
|
| void LoadGlobalIC(const LoadICParameters* p);
|
|
|
| + // Get the enumerable length from |map| and return the result as a Smi.
|
| + compiler::Node* EnumLength(compiler::Node* map);
|
| +
|
| + // Check the cache validity for |receiver|. Branch to |use_cache| if
|
| + // the cache is valid, otherwise branch to |use_runtime|.
|
| + void CheckEnumCache(compiler::Node* receiver,
|
| + CodeStubAssembler::Label* use_cache,
|
| + CodeStubAssembler::Label* use_runtime);
|
| +
|
| private:
|
| compiler::Node* ElementOffsetFromIndex(compiler::Node* index,
|
| ElementsKind kind, ParameterMode mode,
|
|
|