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

« back to all changes in this revision

Viewing changes to src/assembler.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:
30
30
 
31
31
// The original source code covered by the above license above has been
32
32
// modified significantly by Google Inc.
33
 
// Copyright 2011 the V8 project authors. All rights reserved.
 
33
// Copyright 2012 the V8 project authors. All rights reserved.
34
34
 
35
35
#ifndef V8_ASSEMBLER_H_
36
36
#define V8_ASSEMBLER_H_
37
37
 
 
38
#include "v8.h"
 
39
 
38
40
#include "allocation.h"
 
41
#include "builtins.h"
39
42
#include "gdb-jit.h"
 
43
#include "isolate.h"
40
44
#include "runtime.h"
41
45
#include "token.h"
42
46
 
43
47
namespace v8 {
 
48
 
 
49
class ApiFunction;
 
50
 
44
51
namespace internal {
45
52
 
 
53
struct StatsCounter;
46
54
const unsigned kNoASTId = -1;
47
55
// -----------------------------------------------------------------------------
48
56
// Platform independent assembler base class.
271
279
  INLINE(void apply(intptr_t delta));
272
280
 
273
281
  // Is the pointer this relocation info refers to coded like a plain pointer
274
 
  // or is it strange in some way (eg relative or patched into a series of
 
282
  // or is it strange in some way (e.g. relative or patched into a series of
275
283
  // instructions).
276
284
  bool IsCodedSpecially();
277
285
 
371
379
  // routines expect to access these pointers indirectly. The following
372
380
  // location provides a place for these pointers to exist natually
373
381
  // when accessed via the Iterator.
374
 
  Object *reconstructed_obj_ptr_;
 
382
  Object* reconstructed_obj_ptr_;
375
383
  // External-reference pointers are also split across instruction-pairs
376
384
  // in mips, but are accessed via indirect pointers. This location
377
385
  // provides a place for that pointer to exist naturally. Its address