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

Unified Diff: src/objects/literal-objects.h

Issue 2811183005: Do not use new struct type where unnecessary. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: src/objects/literal-objects.h
diff --git a/src/objects/literal-objects.h b/src/objects/literal-objects.h
index fdd321e74e6cf8f9f8a441f6cd86eedcb75d46cb..a4d897bb9db509559f383f00aefb494608be05ea 100644
--- a/src/objects/literal-objects.h
+++ b/src/objects/literal-objects.h
@@ -47,10 +47,6 @@ class ConstantElementsPair : public Struct {
DECLARE_CAST(ConstantElementsPair)
- // Dispatched behavior.
- DECLARE_PRINTER(ConstantElementsPair)
- DECLARE_VERIFIER(ConstantElementsPair)
-
static const int kElementsKindOffset = HeapObject::kHeaderSize;
static const int kConstantValuesOffset = kElementsKindOffset + kPointerSize;
Michael Starzinger 2017/04/13 11:25:59 Likewise.
Yang 2017/04/13 11:53:33 Done.
static const int kSize = kConstantValuesOffset + kPointerSize;

Powered by Google App Engine
This is Rietveld 408576698