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

Side by Side Diff: src/builtins.cc

Issue 1168093002: [strong] Implement strong mode restrictions on property access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « src/builtins.h ('k') | src/code-factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/base/once.h" 10 #include "src/base/once.h"
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 LoadIC::GenerateNormal(masm); 1271 LoadIC::GenerateNormal(masm);
1272 } 1272 }
1273 1273
1274 1274
1275 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) { 1275 static void Generate_LoadIC_Getter_ForDeopt(MacroAssembler* masm) {
1276 NamedLoadHandlerCompiler::GenerateLoadViaGetterForDeopt(masm); 1276 NamedLoadHandlerCompiler::GenerateLoadViaGetterForDeopt(masm);
1277 } 1277 }
1278 1278
1279 1279
1280 static void Generate_LoadIC_Slow(MacroAssembler* masm) { 1280 static void Generate_LoadIC_Slow(MacroAssembler* masm) {
1281 LoadIC::GenerateRuntimeGetProperty(masm); 1281 NamedLoadHandlerCompiler::GenerateSlow(masm);
1282 }
1283
1284
1285 static void Generate_KeyedLoadIC_Initialize(MacroAssembler* masm) {
1286 KeyedLoadIC::GenerateInitialize(masm);
1287 } 1282 }
1288 1283
1289 1284
1290 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 1285 static void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
1291 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 1286 ElementHandlerCompiler::GenerateLoadSlow(masm);
1292 } 1287 }
1293 1288
1294 1289
1295 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 1290 static void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
1296 KeyedLoadIC::GenerateMiss(masm); 1291 KeyedLoadIC::GenerateMiss(masm);
1297 } 1292 }
1298 1293
1299 1294
1300 static void Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) { 1295 static void Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) {
1301 KeyedLoadIC::GenerateMegamorphic(masm); 1296 KeyedLoadIC::GenerateMegamorphic(masm, SLOPPY);
1302 } 1297 }
1303 1298
1304 1299
1300 static void Generate_KeyedLoadIC_Megamorphic_Strong(MacroAssembler* masm) {
1301 KeyedLoadIC::GenerateMegamorphic(masm, STRONG);
1302 }
1303
1304
1305 static void Generate_StoreIC_Miss(MacroAssembler* masm) { 1305 static void Generate_StoreIC_Miss(MacroAssembler* masm) {
1306 StoreIC::GenerateMiss(masm); 1306 StoreIC::GenerateMiss(masm);
1307 } 1307 }
1308 1308
1309 1309
1310 static void Generate_StoreIC_Normal(MacroAssembler* masm) { 1310 static void Generate_StoreIC_Normal(MacroAssembler* masm) {
1311 StoreIC::GenerateNormal(masm); 1311 StoreIC::GenerateNormal(masm);
1312 } 1312 }
1313 1313
1314 1314
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C) 1654 BUILTIN_LIST_C(DEFINE_BUILTIN_ACCESSOR_C)
1655 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A) 1655 BUILTIN_LIST_A(DEFINE_BUILTIN_ACCESSOR_A)
1656 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 1656 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
1657 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 1657 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
1658 #undef DEFINE_BUILTIN_ACCESSOR_C 1658 #undef DEFINE_BUILTIN_ACCESSOR_C
1659 #undef DEFINE_BUILTIN_ACCESSOR_A 1659 #undef DEFINE_BUILTIN_ACCESSOR_A
1660 1660
1661 1661
1662 } // namespace internal 1662 } // namespace internal
1663 } // namespace v8 1663 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/code-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698