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

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

Issue 2445333002: Ensure slow properties for simple {__proto__:null} literals. (Closed)
Patch Set: fixing typo Created 3 years, 9 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
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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 540
541 // Allocate a RegExpResult with the given length (the number of captures, 541 // Allocate a RegExpResult with the given length (the number of captures,
542 // including the match itself), index (the index where the match starts), 542 // including the match itself), index (the index where the match starts),
543 // and input string. |length| and |index| are expected to be tagged, and 543 // and input string. |length| and |index| are expected to be tagged, and
544 // |input| must be a string. 544 // |input| must be a string.
545 Node* AllocateRegExpResult(Node* context, Node* length, Node* index, 545 Node* AllocateRegExpResult(Node* context, Node* length, Node* index,
546 Node* input); 546 Node* input);
547 547
548 Node* AllocateNameDictionary(int capacity); 548 Node* AllocateNameDictionary(int capacity);
549 Node* AllocateNameDictionary(Node* capacity); 549 Node* AllocateNameDictionary(Node* capacity);
550 Node* CopyNameDictionary(Node* dictionary, Label* large_object_fallback);
550 551
551 Node* AllocateJSObjectFromMap(Node* map, Node* properties = nullptr, 552 Node* AllocateJSObjectFromMap(Node* map, Node* properties = nullptr,
552 Node* elements = nullptr, 553 Node* elements = nullptr,
553 AllocationFlags flags = kNone); 554 AllocationFlags flags = kNone);
554 555
555 void InitializeJSObjectFromMap(Node* object, Node* map, Node* size, 556 void InitializeJSObjectFromMap(Node* object, Node* map, Node* size,
556 Node* properties = nullptr, 557 Node* properties = nullptr,
557 Node* elements = nullptr); 558 Node* elements = nullptr);
558 559
559 void InitializeJSObjectBody(Node* object, Node* map, Node* size, 560 void InitializeJSObjectBody(Node* object, Node* map, Node* size,
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 } 1470 }
1470 #else 1471 #else
1471 #define CSA_SLOW_ASSERT(csa, x) ((void)0) 1472 #define CSA_SLOW_ASSERT(csa, x) ((void)0)
1472 #endif 1473 #endif
1473 1474
1474 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 1475 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
1475 1476
1476 } // namespace internal 1477 } // namespace internal
1477 } // namespace v8 1478 } // namespace v8
1478 #endif // V8_CODE_STUB_ASSEMBLER_H_ 1479 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698