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

Unified Diff: src/objects.h

Issue 1254873002: [interpreter] A couple of minor tweaks to BytecodeArray. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « src/interpreter/interpreter.h ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index caf109623c73bed0aef918a18e3be1453a751f98..e124c0200975b550440f441848bdee33cce5ce37 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4254,8 +4254,6 @@ class BytecodeArray : public FixedArrayBase {
// Accessors for frame size and the number of locals
inline int frame_size() const;
inline void set_frame_size(int value);
- inline int number_of_locals() const;
- inline void set_number_of_locals(int value);
DECLARE_CAST(BytecodeArray)
@@ -4269,8 +4267,7 @@ class BytecodeArray : public FixedArrayBase {
// Layout description.
static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize;
- static const int kNumberOfLocalsOffset = kFrameSizeOffset + kIntSize;
- static const int kHeaderSize = kNumberOfLocalsOffset + kIntSize;
+ static const int kHeaderSize = kFrameSizeOffset + kIntSize;
static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize);
« no previous file with comments | « src/interpreter/interpreter.h ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698