Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: src/ic/handler-compiler.h

Issue 2180273002: [KeyedLoadIC] Support Smi "handlers" for element loads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@keyed-load-ic-fieldindex
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ic/handler-compiler.h
diff --git a/src/ic/handler-compiler.h b/src/ic/handler-compiler.h
index 242e497b777dac0a7390ca893ff26e83d0a02976..d0feffdae2981fc39e6fc9cd9aa3e45c962c4d31 100644
--- a/src/ic/handler-compiler.h
+++ b/src/ic/handler-compiler.h
@@ -279,12 +279,17 @@ class ElementHandlerCompiler : public PropertyHandlerCompiler {
virtual ~ElementHandlerCompiler() {}
- static Handle<Code> GetKeyedLoadHandler(Handle<Map> receiver_map,
- Isolate* isolate);
+ static Handle<Object> GetKeyedLoadHandler(Handle<Map> receiver_map,
+ Isolate* isolate);
void CompileElementHandlers(MapHandleList* receiver_maps,
List<Handle<Object>>* handlers);
static void GenerateStoreSlow(MacroAssembler* masm);
+
+ // For Smi-configured KeyedLoadICs loading elements.
+ class KeyedLoadIsJsarray : public BitField<bool, 1, 1> {};
Igor Sheludko 2016/07/28 10:01:11 Maybe KeyedLoadIsJsArray ?
Jakob Kummerow 2016/08/03 11:44:12 Done.
+ class KeyedLoadConvertHole : public BitField<bool, 2, 1> {};
+ class KeyedLoadElementsKind : public BitField<ElementsKind, 3, 8> {};
};
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698