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

Unified Diff: src/code-stubs.cc

Issue 2423053002: Install the 'name' property in classes at runtime (Closed)
Patch Set: Rebase Created 4 years 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-stubs.cc
diff --git a/src/code-stubs.cc b/src/code-stubs.cc
index 8600350d0f38d5d081c1c203a923a0dcc296bffc..dcf161049018edf2587e2fe7db51f514503540c4 100644
--- a/src/code-stubs.cc
+++ b/src/code-stubs.cc
@@ -2524,7 +2524,7 @@ compiler::Node* FastNewClosureStub::Generate(CodeStubAssembler* assembler,
assembler->Bind(&if_class_constructor);
{
map_index.Bind(
- assembler->IntPtrConstant(Context::STRICT_FUNCTION_MAP_INDEX));
+ assembler->IntPtrConstant(Context::CLASS_FUNCTION_MAP_INDEX));
assembler->Goto(&load_map);
}
« no previous file with comments | « src/bootstrapper.cc ('k') | src/contexts.h » ('j') | src/parsing/parser-base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698