~ubuntu-branches/ubuntu/trusty/libv8/trusty

« back to all changes in this revision

Viewing changes to src/char-predicates-inl.h

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2012-02-20 14:08:17 UTC
  • mfrom: (15.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20120220140817-bsvmeoa4sxsj5hbz
Tags: 3.7.12.22-3
Fix mipsel build, allow test debug-step-3 to fail (non-crucial)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright 2006-2008 the V8 project authors. All rights reserved.
 
1
// Copyright 2011 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:
52
52
}
53
53
 
54
54
 
55
 
static inline bool IsInRange(int value, int lower_limit, int higher_limit) {
 
55
inline bool IsInRange(int value, int lower_limit, int higher_limit) {
56
56
  ASSERT(lower_limit <= higher_limit);
57
57
  return static_cast<unsigned int>(value - lower_limit) <=
58
58
      static_cast<unsigned int>(higher_limit - lower_limit);