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

« back to all changes in this revision

Viewing changes to src/runtime.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:
197
197
  F(StringLocaleCompare, 2, 1) \
198
198
  F(SubString, 3, 1) \
199
199
  F(StringReplaceRegExpWithString, 4, 1) \
 
200
  F(StringReplaceOneCharWithString, 3, 1) \
200
201
  F(StringMatch, 3, 1) \
201
202
  F(StringTrim, 3, 1) \
202
203
  F(StringToArray, 2, 1) \
341
342
  /* Debugging */ \
342
343
  F(DebugPrint, 1, 1) \
343
344
  F(DebugTrace, 0, 1) \
344
 
  F(TraceElementsKindTransition, 5, 1) \
345
345
  F(TraceEnter, 0, 1) \
346
346
  F(TraceExit, 1, 1) \
347
347
  F(Abort, 2, 1) \
630
630
  // Get the intrinsic function with the given FunctionId.
631
631
  static const Function* FunctionForId(FunctionId id);
632
632
 
 
633
  static Handle<String> StringReplaceOneCharWithString(Isolate* isolate,
 
634
                                                       Handle<String> subject,
 
635
                                                       Handle<String> search,
 
636
                                                       Handle<String> replace,
 
637
                                                       bool* found,
 
638
                                                       int recursion_limit);
 
639
 
633
640
  // General-purpose helper functions for runtime system.
634
641
  static int StringMatch(Isolate* isolate,
635
642
                         Handle<String> sub,
679
686
 
680
687
  // Helper functions used stubs.
681
688
  static void PerformGC(Object* result);
 
689
 
 
690
  // Used in runtime.cc and hydrogen's VisitArrayLiteral.
 
691
  static Handle<Object> CreateArrayLiteralBoilerplate(
 
692
      Isolate* isolate,
 
693
      Handle<FixedArray> literals,
 
694
      Handle<FixedArray> elements);
682
695
};
683
696
 
684
697