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

Side by Side Diff: src/factory.h

Issue 142813003: A64: Synchronize with r15358. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int length, 145 int length,
146 PretenureFlag pretenure = NOT_TENURED); 146 PretenureFlag pretenure = NOT_TENURED);
147 Handle<SeqTwoByteString> NewRawTwoByteString( 147 Handle<SeqTwoByteString> NewRawTwoByteString(
148 int length, 148 int length,
149 PretenureFlag pretenure = NOT_TENURED); 149 PretenureFlag pretenure = NOT_TENURED);
150 150
151 // Create a new cons string object which consists of a pair of strings. 151 // Create a new cons string object which consists of a pair of strings.
152 Handle<String> NewConsString(Handle<String> first, 152 Handle<String> NewConsString(Handle<String> first,
153 Handle<String> second); 153 Handle<String> second);
154 154
155 // Create a new sequential string containing the concatenation of the inputs.
156 Handle<String> NewFlatConcatString(Handle<String> first,
157 Handle<String> second);
158
155 // Create a new string object which holds a substring of a string. 159 // Create a new string object which holds a substring of a string.
156 Handle<String> NewSubString(Handle<String> str, 160 Handle<String> NewSubString(Handle<String> str,
157 int begin, 161 int begin,
158 int end); 162 int end);
159 163
160 // Create a new string object which holds a proper substring of a string. 164 // Create a new string object which holds a proper substring of a string.
161 Handle<String> NewProperSubString(Handle<String> str, 165 Handle<String> NewProperSubString(Handle<String> str,
162 int begin, 166 int begin,
163 int end); 167 int end);
164 168
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 void EnsureCanContainHeapObjectElements(Handle<JSArray> array); 325 void EnsureCanContainHeapObjectElements(Handle<JSArray> array);
322 void EnsureCanContainElements(Handle<JSArray> array, 326 void EnsureCanContainElements(Handle<JSArray> array,
323 Handle<FixedArrayBase> elements, 327 Handle<FixedArrayBase> elements,
324 uint32_t length, 328 uint32_t length,
325 EnsureElementsMode mode); 329 EnsureElementsMode mode);
326 330
327 Handle<JSArrayBuffer> NewJSArrayBuffer(); 331 Handle<JSArrayBuffer> NewJSArrayBuffer();
328 332
329 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); 333 Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type);
330 334
335 Handle<JSDataView> NewJSDataView();
336
331 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); 337 Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
332 338
333 // Change the type of the argument into a JS object/function and reinitialize. 339 // Change the type of the argument into a JS object/function and reinitialize.
334 void BecomeJSObject(Handle<JSReceiver> object); 340 void BecomeJSObject(Handle<JSReceiver> object);
335 void BecomeJSFunction(Handle<JSReceiver> object); 341 void BecomeJSFunction(Handle<JSReceiver> object);
336 342
337 void SetIdentityHash(Handle<JSObject> object, Smi* hash); 343 void SetIdentityHash(Handle<JSObject> object, Smi* hash);
338 344
339 Handle<JSFunction> NewFunction(Handle<String> name, 345 Handle<JSFunction> NewFunction(Handle<String> name,
340 Handle<Object> prototype); 346 Handle<Object> prototype);
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 } else { 561 } else {
556 return NewNumber(static_cast<double>(value), pretenure); 562 return NewNumber(static_cast<double>(value), pretenure);
557 } 563 }
558 } 564 }
559 565
560 566
561 567
562 } } // namespace v8::internal 568 } } // namespace v8::internal
563 569
564 #endif // V8_FACTORY_H_ 570 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698