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

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: The fix 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 21 matching lines...) Expand all
32 V(FixedCOWArrayMap, FixedCOWArrayMap) \ 32 V(FixedCOWArrayMap, FixedCOWArrayMap) \
33 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ 33 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \
34 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ 34 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \
35 V(HeapNumberMap, HeapNumberMap) \ 35 V(HeapNumberMap, HeapNumberMap) \
36 V(MinusZeroValue, MinusZero) \ 36 V(MinusZeroValue, MinusZero) \
37 V(NanValue, Nan) \ 37 V(NanValue, Nan) \
38 V(NullValue, Null) \ 38 V(NullValue, Null) \
39 V(SymbolMap, SymbolMap) \ 39 V(SymbolMap, SymbolMap) \
40 V(TheHoleValue, TheHole) \ 40 V(TheHoleValue, TheHole) \
41 V(TrueValue, True) \ 41 V(TrueValue, True) \
42 V(Tuple2Map, Tuple2Map) \
43 V(Tuple3Map, Tuple3Map) \
42 V(UndefinedValue, Undefined) 44 V(UndefinedValue, Undefined)
43 45
44 // Provides JavaScript-specific "macro-assembler" functionality on top of the 46 // Provides JavaScript-specific "macro-assembler" functionality on top of the
45 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler, 47 // CodeAssembler. By factoring the JavaScript-isms out of the CodeAssembler,
46 // it's possible to add JavaScript-specific useful CodeAssembler "macros" 48 // it's possible to add JavaScript-specific useful CodeAssembler "macros"
47 // without modifying files in the compiler directory (and requiring a review 49 // without modifying files in the compiler directory (and requiring a review
48 // from a compiler directory OWNER). 50 // from a compiler directory OWNER).
49 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { 51 class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
50 public: 52 public:
51 typedef compiler::Node Node; 53 typedef compiler::Node Node;
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 } 1111 }
1110 #else 1112 #else
1111 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1113 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1112 #endif 1114 #endif
1113 1115
1114 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1116 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1115 1117
1116 } // namespace internal 1118 } // namespace internal
1117 } // namespace v8 1119 } // namespace v8
1118 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1120 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698