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

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

Issue 1168093002: [strong] Implement strong mode restrictions on property access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix arm64 port Created 5 years, 6 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 077db923076e76a7095cdf16744469354ccece3b..c7ae3d584d3b16dd1e731608784d07b2f4182f3c 100644
--- a/src/ic/handler-compiler.h
+++ b/src/ic/handler-compiler.h
@@ -146,6 +146,8 @@ class NamedLoadHandlerCompiler : public PropertyHandlerCompiler {
static Handle<Code> ComputeLoadNonexistent(Handle<Name> name,
Handle<Map> map);
+ static void GenerateLoadSlow(MacroAssembler* masm);
+
static void GenerateLoadViaGetter(MacroAssembler* masm, Handle<Map> map,
Register receiver, Register holder,
int accessor_index, int expected_arguments,
@@ -290,8 +292,9 @@ class ElementHandlerCompiler : public PropertyHandlerCompiler {
virtual ~ElementHandlerCompiler() {}
void CompileElementHandlers(MapHandleList* receiver_maps,
- CodeHandleList* handlers);
+ CodeHandleList* handlers, Strength strength);
+ static void GenerateLoadSlow(MacroAssembler* masm);
static void GenerateStoreSlow(MacroAssembler* masm);
};
}

Powered by Google App Engine
This is Rietveld 408576698