| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2856 } | 2856 } |
| 2857 | 2857 |
| 2858 | 2858 |
| 2859 byte* Code::entry() { | 2859 byte* Code::entry() { |
| 2860 return instruction_start(); | 2860 return instruction_start(); |
| 2861 } | 2861 } |
| 2862 | 2862 |
| 2863 | 2863 |
| 2864 bool Code::contains(byte* pc) { | 2864 bool Code::contains(byte* pc) { |
| 2865 return (instruction_start() <= pc) && | 2865 return (instruction_start() <= pc) && |
| 2866 (pc < instruction_start() + instruction_size()); | 2866 (pc <= instruction_start() + instruction_size()); |
| 2867 } | 2867 } |
| 2868 | 2868 |
| 2869 | 2869 |
| 2870 ACCESSORS(JSArray, length, Object, kLengthOffset) | 2870 ACCESSORS(JSArray, length, Object, kLengthOffset) |
| 2871 | 2871 |
| 2872 | 2872 |
| 2873 ACCESSORS(JSRegExp, data, Object, kDataOffset) | 2873 ACCESSORS(JSRegExp, data, Object, kDataOffset) |
| 2874 | 2874 |
| 2875 | 2875 |
| 2876 JSRegExp::Type JSRegExp::TypeTag() { | 2876 JSRegExp::Type JSRegExp::TypeTag() { |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3312 #undef WRITE_INT_FIELD | 3312 #undef WRITE_INT_FIELD |
| 3313 #undef READ_SHORT_FIELD | 3313 #undef READ_SHORT_FIELD |
| 3314 #undef WRITE_SHORT_FIELD | 3314 #undef WRITE_SHORT_FIELD |
| 3315 #undef READ_BYTE_FIELD | 3315 #undef READ_BYTE_FIELD |
| 3316 #undef WRITE_BYTE_FIELD | 3316 #undef WRITE_BYTE_FIELD |
| 3317 | 3317 |
| 3318 | 3318 |
| 3319 } } // namespace v8::internal | 3319 } } // namespace v8::internal |
| 3320 | 3320 |
| 3321 #endif // V8_OBJECTS_INL_H_ | 3321 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |