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

« back to all changes in this revision

Viewing changes to src/debug.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:
178
178
 
179
179
 private:
180
180
  // Calculate the hash value from the key (script id).
181
 
  static uint32_t Hash(int key) { return ComputeIntegerHash(key); }
 
181
  static uint32_t Hash(int key) {
 
182
    return ComputeIntegerHash(key, v8::internal::kZeroHashSeed);
 
183
  }
182
184
 
183
185
  // Scripts match if their keys (script id) match.
184
186
  static bool ScriptMatch(void* key1, void* key2) { return key1 == key2; }
222
224
// DebugInfo.
223
225
class Debug {
224
226
 public:
225
 
  void Setup(bool create_heap_objects);
 
227
  void SetUp(bool create_heap_objects);
226
228
  bool Load();
227
229
  void Unload();
228
230
  bool IsLoaded() { return !debug_context_.is_null(); }