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

Side by Side Diff: src/objects.h

Issue 12186012: Merged r13471, r13504 into 3.15 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.15
Patch Set: Created 7 years, 10 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 | « no previous file | src/objects-inl.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 6631 matching lines...) Expand 10 before | Expand all | Expand 10 after
6642 inline Flags GetFlags(); 6642 inline Flags GetFlags();
6643 inline String* Pattern(); 6643 inline String* Pattern();
6644 inline Object* DataAt(int index); 6644 inline Object* DataAt(int index);
6645 // Set implementation data after the object has been prepared. 6645 // Set implementation data after the object has been prepared.
6646 inline void SetDataAt(int index, Object* value); 6646 inline void SetDataAt(int index, Object* value);
6647 6647
6648 // Used during GC when flushing code or setting age. 6648 // Used during GC when flushing code or setting age.
6649 inline Object* DataAtUnchecked(int index); 6649 inline Object* DataAtUnchecked(int index);
6650 inline void SetDataAtUnchecked(int index, Object* value, Heap* heap); 6650 inline void SetDataAtUnchecked(int index, Object* value, Heap* heap);
6651 inline Type TypeTagUnchecked(); 6651 inline Type TypeTagUnchecked();
6652 inline void ResetLastIndex();
6653 6652
6654 static int code_index(bool is_ascii) { 6653 static int code_index(bool is_ascii) {
6655 if (is_ascii) { 6654 if (is_ascii) {
6656 return kIrregexpASCIICodeIndex; 6655 return kIrregexpASCIICodeIndex;
6657 } else { 6656 } else {
6658 return kIrregexpUC16CodeIndex; 6657 return kIrregexpUC16CodeIndex;
6659 } 6658 }
6660 } 6659 }
6661 6660
6662 static int saved_code_index(bool is_ascii) { 6661 static int saved_code_index(bool is_ascii) {
(...skipping 2424 matching lines...) Expand 10 before | Expand all | Expand 10 after
9087 } else { 9086 } else {
9088 value &= ~(1 << bit_position); 9087 value &= ~(1 << bit_position);
9089 } 9088 }
9090 return value; 9089 return value;
9091 } 9090 }
9092 }; 9091 };
9093 9092
9094 } } // namespace v8::internal 9093 } } // namespace v8::internal
9095 9094
9096 #endif // V8_OBJECTS_H_ 9095 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698