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

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

Issue 2775203002: [builtins] Implement %TypedArray%.prototype.{some,every} in the CSA (Closed)
Patch Set: addressed comments 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-definitions.h ('k') | src/code-stub-assembler.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 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 440
441 // Load Float64 value by |base| + |offset| address. If the value is a double 441 // Load Float64 value by |base| + |offset| address. If the value is a double
442 // hole then jump to |if_hole|. If |machine_type| is None then only the hole 442 // hole then jump to |if_hole|. If |machine_type| is None then only the hole
443 // check is generated. 443 // check is generated.
444 Node* LoadDoubleWithHoleCheck( 444 Node* LoadDoubleWithHoleCheck(
445 Node* base, Node* offset, Label* if_hole, 445 Node* base, Node* offset, Label* if_hole,
446 MachineType machine_type = MachineType::Float64()); 446 MachineType machine_type = MachineType::Float64());
447 Node* LoadFixedTypedArrayElement( 447 Node* LoadFixedTypedArrayElement(
448 Node* data_pointer, Node* index_node, ElementsKind elements_kind, 448 Node* data_pointer, Node* index_node, ElementsKind elements_kind,
449 ParameterMode parameter_mode = INTPTR_PARAMETERS); 449 ParameterMode parameter_mode = INTPTR_PARAMETERS);
450 Node* LoadFixedTypedArrayElementAsTagged(
451 Node* data_pointer, Node* index_node, ElementsKind elements_kind,
452 ParameterMode parameter_mode = INTPTR_PARAMETERS);
450 453
451 // Context manipulation 454 // Context manipulation
452 Node* LoadContextElement(Node* context, int slot_index); 455 Node* LoadContextElement(Node* context, int slot_index);
453 Node* LoadContextElement(Node* context, Node* slot_index); 456 Node* LoadContextElement(Node* context, Node* slot_index);
454 Node* StoreContextElement(Node* context, int slot_index, Node* value); 457 Node* StoreContextElement(Node* context, int slot_index, Node* value);
455 Node* StoreContextElement(Node* context, Node* slot_index, Node* value); 458 Node* StoreContextElement(Node* context, Node* slot_index, Node* value);
456 Node* StoreContextElementNoWriteBarrier(Node* context, int slot_index, 459 Node* StoreContextElementNoWriteBarrier(Node* context, int slot_index,
457 Node* value); 460 Node* value);
458 Node* LoadNativeContext(Node* context); 461 Node* LoadNativeContext(Node* context);
459 462
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 } 1481 }
1479 #else 1482 #else
1480 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1483 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1481 #endif 1484 #endif
1482 1485
1483 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1486 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1484 1487
1485 } // namespace internal 1488 } // namespace internal
1486 } // namespace v8 1489 } // namespace v8
1487 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1490 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-definitions.h ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698