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

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

Issue 2680313002: Count closures using the feedback vector cell map, specialize if count==1. (Closed)
Patch Set: Only specialize if compiling from bytecode Created 3 years, 10 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/builtins-constructor.cc ('k') | src/compiler/js-create-lowering.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 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 16 matching lines...) Expand all
27 V(BooleanMap, BooleanMap) \ 27 V(BooleanMap, BooleanMap) \
28 V(CodeMap, CodeMap) \ 28 V(CodeMap, CodeMap) \
29 V(empty_string, EmptyString) \ 29 V(empty_string, EmptyString) \
30 V(EmptyFixedArray, EmptyFixedArray) \ 30 V(EmptyFixedArray, EmptyFixedArray) \
31 V(FalseValue, False) \ 31 V(FalseValue, False) \
32 V(FixedArrayMap, FixedArrayMap) \ 32 V(FixedArrayMap, FixedArrayMap) \
33 V(FixedCOWArrayMap, FixedCOWArrayMap) \ 33 V(FixedCOWArrayMap, FixedCOWArrayMap) \
34 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ 34 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \
35 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \ 35 V(FunctionTemplateInfoMap, FunctionTemplateInfoMap) \
36 V(HeapNumberMap, HeapNumberMap) \ 36 V(HeapNumberMap, HeapNumberMap) \
37 V(NoClosuresCellMap, NoClosuresCellMap) \
38 V(OneClosureCellMap, OneClosureCellMap) \
39 V(ManyClosuresCellMap, ManyClosuresCellMap) \
37 V(MinusZeroValue, MinusZero) \ 40 V(MinusZeroValue, MinusZero) \
38 V(NanValue, Nan) \ 41 V(NanValue, Nan) \
39 V(NullValue, Null) \ 42 V(NullValue, Null) \
40 V(SymbolMap, SymbolMap) \ 43 V(SymbolMap, SymbolMap) \
41 V(TheHoleValue, TheHole) \ 44 V(TheHoleValue, TheHole) \
42 V(TrueValue, True) \ 45 V(TrueValue, True) \
43 V(Tuple2Map, Tuple2Map) \ 46 V(Tuple2Map, Tuple2Map) \
44 V(Tuple3Map, Tuple3Map) \ 47 V(Tuple3Map, Tuple3Map) \
45 V(UndefinedValue, Undefined) 48 V(UndefinedValue, Undefined)
46 49
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 } 1328 }
1326 #else 1329 #else
1327 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1330 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1328 #endif 1331 #endif
1329 1332
1330 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1333 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1331 1334
1332 } // namespace internal 1335 } // namespace internal
1333 } // namespace v8 1336 } // namespace v8
1334 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1337 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-constructor.cc ('k') | src/compiler/js-create-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698