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

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

Issue 2645743002: [builtins] Port parameter and argument-related code stubs to CSA (Closed)
Patch Set: Remove stray change Created 3 years, 11 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/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 8f08408e40ee8db9b14f57a08e9aa4da1e4e7f1b..1eef36c3920f618e642aac96e8f220704d4a14f6 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -384,6 +384,14 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* LoadMapConstructorFunctionIndex(Node* map);
// Load the constructor of a Map (equivalent to Map::GetConstructor()).
Node* LoadMapConstructor(Node* map);
+ // Loads a value from the specially encoded integer fields in the
+ // SharedFunctionInfo object.
+ // TODO(danno): This currently only works for the integer fields that are
+ // mapped to the upper part of 64-bit words. We should customize
+ // SFI::BodyDescriptor and store int32 values directly.
+ Node* LoadSharedFunctionInfoSpecialField(Node* shared, int offset,
+ ParameterMode param_mode);
+
// Check if the map is set for slow properties.
Node* IsDictionaryMap(Node* map);
@@ -1120,6 +1128,10 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
FixedArray::kHeaderSize);
}
+ void GotoIfFixedArraySizeDoesntFitInNewSpace(Node* element_count,
+ Label* doesnt_fit, int base_size,
+ ParameterMode mode);
+
void InitializeFieldsWithRoot(Node* object, Node* start_offset,
Node* end_offset, Heap::RootListIndex root);

Powered by Google App Engine
This is Rietveld 408576698