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

« back to all changes in this revision

Viewing changes to src/x64/frames-x64.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:
1
 
// Copyright 2011 the V8 project authors. All rights reserved.
 
1
// Copyright 2012 the V8 project authors. All rights reserved.
2
2
// Redistribution and use in source and binary forms, with or without
3
3
// modification, are permitted provided that the following conditions are
4
4
// met:
87
87
 
88
88
class StandardFrameConstants : public AllStatic {
89
89
 public:
 
90
  // Fixed part of the frame consists of return address, caller fp,
 
91
  // context and function.
 
92
  static const int kFixedFrameSize    =  4 * kPointerSize;
90
93
  static const int kExpressionsOffset = -3 * kPointerSize;
91
94
  static const int kMarkerOffset      = -2 * kPointerSize;
92
95
  static const int kContextOffset     = -1 * kPointerSize;
112
115
class ArgumentsAdaptorFrameConstants : public AllStatic {
113
116
 public:
114
117
  static const int kLengthOffset = StandardFrameConstants::kExpressionsOffset;
 
118
  static const int kFrameSize =
 
119
      StandardFrameConstants::kFixedFrameSize + kPointerSize;
115
120
};
116
121
 
117
122