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

Unified Diff: src/objects.h

Issue 1193343002: Move SetFastDoubleElementsCapacity into GrowCapacityAndConvert (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 26bae06855405b91f7b9fc70d03a76445b9bf496..1245633d363f87c6fda4ef949af99332dfd912b1 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2051,8 +2051,6 @@ class JSObject: public JSReceiver {
static Handle<FixedArray> SetFastElementsCapacity(
Handle<JSObject> object, int capacity,
SetFastElementsCapacitySmiMode smi_mode);
- static Handle<FixedArrayBase> SetFastDoubleElementsCapacity(
- Handle<JSObject> object, int capacity);
// Replace the elements' backing store with fast elements of the given
// capacity. Update the length for JSArrays. Returns the new backing
@@ -2062,8 +2060,8 @@ class JSObject: public JSReceiver {
int capacity,
int length,
SetFastElementsCapacitySmiMode smi_mode);
- static Handle<FixedArrayBase> SetFastDoubleElementsCapacityAndLength(
- Handle<JSObject> object, int capacity, int length);
+ static void SetFastDoubleElementsCapacityAndLength(Handle<JSObject> object,
+ int capacity, int length);
// Lookup interceptors are used for handling properties controlled by host
// objects.
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698