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

Unified Diff: src/compiler/code-stub-assembler.h

Issue 1838283003: Migrate FastCloneShallowObjectStub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/code-stub-assembler.h
diff --git a/src/compiler/code-stub-assembler.h b/src/compiler/code-stub-assembler.h
index 9fcb8906069e3895040575e2e5a1a3ce13a8377a..95bd7e06ebeffe9ee1428152a8403cf8a2d37054 100644
--- a/src/compiler/code-stub-assembler.h
+++ b/src/compiler/code-stub-assembler.h
@@ -303,6 +303,10 @@ class CodeStubAssembler {
// Load a field from an object on the heap.
Node* LoadObjectField(Node* object, int offset,
MachineType rep = MachineType::AnyTagged());
+ // Store a field to an object on the heap.
+ Node* StoreObjectFieldNoWriteBarrier(
+ Node* object, int offset, Node* value,
+ MachineRepresentation rep = MachineRepresentation::kTagged);
// Load the floating point value of a HeapNumber.
Node* LoadHeapNumberValue(Node* object);
// Store the floating point value of a HeapNumber.
@@ -322,6 +326,8 @@ class CodeStubAssembler {
// Load the hash field of a name.
Node* LoadNameHash(Node* name);
+ // Load the instance size of a Map.
+ Node* LoadMapInstanceSize(Node* map);
// Load an array element from a FixedArray.
Node* LoadFixedArrayElementInt32Index(Node* object, Node* int32_index,
@@ -336,6 +342,7 @@ class CodeStubAssembler {
Node* AllocateHeapNumber();
// Allocate a HeapNumber with a specific value.
Node* AllocateHeapNumberWithValue(Node* value);
+ Node* InnerAllocate(Node* previous, int offset);
// Store an array element to a FixedArray.
Node* StoreFixedArrayElementNoWriteBarrier(Node* object, Node* index,

Powered by Google App Engine
This is Rietveld 408576698