~ubuntu-branches/ubuntu/saucy/libv8/saucy

« back to all changes in this revision

Viewing changes to src/factory.h

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2012-04-07 16:26:13 UTC
  • mfrom: (15.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120407162613-dqo1m6w9r3fh8tst
Tags: 3.8.9.16-3
* mipsel build fixes :
  + v8_use_mips_abi_hardfloat=false, this lowers EABI requirements.
  + v8_can_use_fpu_instructions=false, detect if FPU is present.
  + set -Wno-unused-but-set-variable only on mipsel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
      int size,
55
55
      PretenureFlag pretenure = NOT_TENURED);
56
56
 
57
 
  Handle<NumberDictionary> NewNumberDictionary(int at_least_space_for);
 
57
  Handle<SeededNumberDictionary> NewSeededNumberDictionary(
 
58
      int at_least_space_for);
 
59
 
 
60
  Handle<UnseededNumberDictionary> NewUnseededNumberDictionary(
 
61
      int at_least_space_for);
58
62
 
59
63
  Handle<StringDictionary> NewStringDictionary(int at_least_space_for);
60
64
 
69
73
  Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
70
74
      int deopt_entry_count,
71
75
      PretenureFlag pretenure);
 
76
  // Allocates a pre-tenured empty AccessorPair.
 
77
  Handle<AccessorPair> NewAccessorPair();
72
78
 
73
79
  Handle<String> LookupSymbol(Vector<const char> str);
74
80
  Handle<String> LookupSymbol(Handle<String> str);
227
233
  Handle<FixedDoubleArray> CopyFixedDoubleArray(
228
234
      Handle<FixedDoubleArray> array);
229
235
 
230
 
  // Numbers (eg, literals) are pretenured by the parser.
 
236
  // Numbers (e.g. literals) are pretenured by the parser.
231
237
  Handle<Object> NewNumber(double value,
232
238
                           PretenureFlag pretenure = NOT_TENURED);
233
239
 
259
265
                             PretenureFlag pretenure = NOT_TENURED);
260
266
 
261
267
  Handle<JSArray> NewJSArrayWithElements(
262
 
      Handle<FixedArray> elements,
 
268
      Handle<FixedArrayBase> elements,
263
269
      PretenureFlag pretenure = NOT_TENURED);
264
270
 
265
 
  void SetContent(Handle<JSArray> array, Handle<FixedArray> elements);
266
 
 
267
 
  void EnsureCanContainNonSmiElements(Handle<JSArray> array);
 
271
  void SetElementsCapacityAndLength(Handle<JSArray> array,
 
272
                                    int capacity,
 
273
                                    int length);
 
274
 
 
275
  void SetContent(Handle<JSArray> array, Handle<FixedArrayBase> elements);
 
276
 
 
277
  void EnsureCanContainHeapObjectElements(Handle<JSArray> array);
 
278
  void EnsureCanContainElements(Handle<JSArray> array,
 
279
                                Handle<FixedArrayBase> elements,
 
280
                                EnsureElementsMode mode);
268
281
 
269
282
  Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
270
283
 
423
436
      Handle<Object> stack_trace,
424
437
      Handle<Object> stack_frames);
425
438
 
426
 
  Handle<NumberDictionary> DictionaryAtNumberPut(
427
 
      Handle<NumberDictionary>,
 
439
  Handle<SeededNumberDictionary> DictionaryAtNumberPut(
 
440
      Handle<SeededNumberDictionary>,
 
441
      uint32_t key,
 
442
      Handle<Object> value);
 
443
 
 
444
  Handle<UnseededNumberDictionary> DictionaryAtNumberPut(
 
445
      Handle<UnseededNumberDictionary>,
428
446
      uint32_t key,
429
447
      Handle<Object> value);
430
448