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

Side by Side Diff: src/compiler/js-intrinsic-lowering.h

Issue 2778623003: [typedarrays] Check detached buffer at start of typed array methods (Closed)
Patch Set: pass test262 for subarray Created 3 years, 8 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-typedarray.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_COMPILER_JS_INTRINSIC_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 Reduction ReduceToLength(Node* node); 61 Reduction ReduceToLength(Node* node);
62 Reduction ReduceToNumber(Node* node); 62 Reduction ReduceToNumber(Node* node);
63 Reduction ReduceToObject(Node* node); 63 Reduction ReduceToObject(Node* node);
64 Reduction ReduceToString(Node* node); 64 Reduction ReduceToString(Node* node);
65 Reduction ReduceCall(Node* node); 65 Reduction ReduceCall(Node* node);
66 Reduction ReduceGetSuperConstructor(Node* node); 66 Reduction ReduceGetSuperConstructor(Node* node);
67 67
68 // TODO(turbofan): typedarray.js support; drop once TypedArrays are 68 // TODO(turbofan): typedarray.js support; drop once TypedArrays are
69 // converted to proper CodeStubAssembler based builtins. 69 // converted to proper CodeStubAssembler based builtins.
70 Reduction ReduceArrayBufferViewField(Node* node, FieldAccess const& access); 70 Reduction ReduceArrayBufferViewField(Node* node, FieldAccess const& access);
71 Reduction ReduceArrayBufferViewWasNeutered(Node* node);
71 Reduction ReduceMaxSmi(Node* node); 72 Reduction ReduceMaxSmi(Node* node);
72 Reduction ReduceTypedArrayMaxSizeInHeap(Node* node); 73 Reduction ReduceTypedArrayMaxSizeInHeap(Node* node);
73 74
74 // TODO(turbofan): collection.js support; drop once Maps and Sets are 75 // TODO(turbofan): collection.js support; drop once Maps and Sets are
75 // converted to proper CodeStubAssembler based builtins. 76 // converted to proper CodeStubAssembler based builtins.
76 Reduction ReduceJSCollectionGetTable(Node* node); 77 Reduction ReduceJSCollectionGetTable(Node* node);
77 Reduction ReduceStringGetRawHashField(Node* node); 78 Reduction ReduceStringGetRawHashField(Node* node);
78 Reduction ReduceTheHole(Node* node); 79 Reduction ReduceTheHole(Node* node);
79 80
80 // TODO(turbofan): JavaScript builtins support; drop once all uses of 81 // TODO(turbofan): JavaScript builtins support; drop once all uses of
(...skipping 18 matching lines...) Expand all
99 100
100 JSGraph* const jsgraph_; 101 JSGraph* const jsgraph_;
101 DeoptimizationMode const mode_; 102 DeoptimizationMode const mode_;
102 }; 103 };
103 104
104 } // namespace compiler 105 } // namespace compiler
105 } // namespace internal 106 } // namespace internal
106 } // namespace v8 107 } // namespace v8
107 108
108 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ 109 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-typedarray.cc ('k') | src/compiler/js-intrinsic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698