Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: src/objects-inl.h

Issue 3187024: Merge r5333, r5336, r5341 to 2.2 branch... (Closed) Base URL: http://v8.googlecode.com/svn/branches/2.2/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/version.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/ia32/debug-ia32.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698