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

Unified Diff: src/code-stub-assembler.h

Issue 2811333002: [builtins] HasOwnProperty: handle non-internalized string keys (Closed)
Patch Set: fix Created 3 years, 8 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/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 3937dc6572f38222f51c2193f31257880f58b48c..f527817ba8c9e8c6f5132c38f61a8352c0a281ed 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -918,9 +918,11 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
void Use(Label* label);
// Various building blocks for stubs doing property lookups.
+
+ // |if_notinternalized| is optional; |if_bailout| will be used by default.
void TryToName(Node* key, Label* if_keyisindex, Variable* var_index,
- Label* if_keyisunique, Variable* var_unique,
- Label* if_bailout);
+ Label* if_keyisunique, Variable* var_unique, Label* if_bailout,
+ Label* if_notinternalized = nullptr);
// Calculates array index for given dictionary entry and entry field.
// See Dictionary::EntryToIndex().

Powered by Google App Engine
This is Rietveld 408576698