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

Side by Side Diff: src/objects.h

Issue 1410023013: Objects printing improved a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-subclass
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | src/objects.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 7713 matching lines...) Expand 10 before | Expand all | Expand 10 after
7724 if (is_latin1) { 7724 if (is_latin1) {
7725 return kIrregexpLatin1CodeSavedIndex; 7725 return kIrregexpLatin1CodeSavedIndex;
7726 } else { 7726 } else {
7727 return kIrregexpUC16CodeSavedIndex; 7727 return kIrregexpUC16CodeSavedIndex;
7728 } 7728 }
7729 } 7729 }
7730 7730
7731 DECLARE_CAST(JSRegExp) 7731 DECLARE_CAST(JSRegExp)
7732 7732
7733 // Dispatched behavior. 7733 // Dispatched behavior.
7734 DECLARE_PRINTER(JSRegExp)
7734 DECLARE_VERIFIER(JSRegExp) 7735 DECLARE_VERIFIER(JSRegExp)
7735 7736
7736 static const int kDataOffset = JSObject::kHeaderSize; 7737 static const int kDataOffset = JSObject::kHeaderSize;
7737 static const int kSize = kDataOffset + kPointerSize; 7738 static const int kSize = kDataOffset + kPointerSize;
7738 7739
7739 // Indices in the data array. 7740 // Indices in the data array.
7740 static const int kTagIndex = 0; 7741 static const int kTagIndex = 0;
7741 static const int kSourceIndex = kTagIndex + 1; 7742 static const int kSourceIndex = kTagIndex + 1;
7742 static const int kFlagsIndex = kSourceIndex + 1; 7743 static const int kFlagsIndex = kSourceIndex + 1;
7743 static const int kDataIndex = kFlagsIndex + 1; 7744 static const int kDataIndex = kFlagsIndex + 1;
(...skipping 3057 matching lines...) Expand 10 before | Expand all | Expand 10 after
10801 // (elements + properties) in the current level. 10802 // (elements + properties) in the current level.
10802 int levelLength_ = 0; 10803 int levelLength_ = 0;
10803 10804
10804 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10805 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10805 }; 10806 };
10806 10807
10807 } // NOLINT, false-positive due to second-order macros. 10808 } // NOLINT, false-positive due to second-order macros.
10808 } // NOLINT, false-positive due to second-order macros. 10809 } // NOLINT, false-positive due to second-order macros.
10809 10810
10810 #endif // V8_OBJECTS_H_ 10811 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698