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

Side by Side Diff: src/code-stub-assembler.h

Issue 2534613002: [ic] Use validity cells to protect keyed element stores against object's prototype chain modificati… (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 20 matching lines...) Expand all
31 V(FixedCOWArrayMap, FixedCOWArrayMap) \ 31 V(FixedCOWArrayMap, FixedCOWArrayMap) \
32 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ 32 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \
33 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ 33 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \
34 V(HeapNumberMap, HeapNumberMap) \ 34 V(HeapNumberMap, HeapNumberMap) \
35 V(MinusZeroValue, MinusZero) \ 35 V(MinusZeroValue, MinusZero) \
36 V(NanValue, Nan) \ 36 V(NanValue, Nan) \
37 V(NullValue, Null) \ 37 V(NullValue, Null) \
38 V(SymbolMap, SymbolMap) \ 38 V(SymbolMap, SymbolMap) \
39 V(TheHoleValue, TheHole) \ 39 V(TheHoleValue, TheHole) \
40 V(TrueValue, True) \ 40 V(TrueValue, True) \
41 V(Tuple2Map, Tuple2Map) \
42 V(Tuple3Map, Tuple3Map) \
41 V(UndefinedValue, Undefined) 43 V(UndefinedValue, Undefined)
42 44
43 // Provides JavaScript-specific "macro-assembler" functionality on top of the 45 // Provides JavaScript-specific "macro-assembler" functionality on top of the
44 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler, 46 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler,
45 // it's possible to add JavaScript-specific useful CodeAssembler "macros" 47 // it's possible to add JavaScript-specific useful CodeAssembler "macros"
46 // without modifying files in the compiler directory (and requiring a review 48 // without modifying files in the compiler directory (and requiring a review
47 // from a compiler directory OWNER). 49 // from a compiler directory OWNER).
48 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { 50 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
49 public: 51 public:
50 CodeStubAssembler(compiler::CodeAssemblerState* state) 52 CodeStubAssembler(compiler::CodeAssemblerState* state)
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 } 1215 }
1214 #else 1216 #else
1215 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1217 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1216 #endif 1218 #endif
1217 1219
1218 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1220 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1219 1221
1220 } // namespace internal 1222 } // namespace internal
1221 } // namespace v8 1223 } // namespace v8
1222 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1224 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698