Commit 3c0483af authored by hpayer@chromium.org's avatar hpayer@chromium.org

Fix TargetSpace() method for box type.

BUG=
R=danno@chromium.org

Review URL: https://codereview.chromium.org/19978003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f70cc6e1
...@@ -5412,7 +5412,7 @@ class Internals { ...@@ -5412,7 +5412,7 @@ class Internals {
static const int kJSObjectType = 0xb1; static const int kJSObjectType = 0xb1;
static const int kFirstNonstringType = 0x80; static const int kFirstNonstringType = 0x80;
static const int kOddballType = 0x83; static const int kOddballType = 0x83;
static const int kForeignType = 0x88; static const int kForeignType = 0x87;
static const int kUndefinedOddballKind = 5; static const int kUndefinedOddballKind = 5;
static const int kNullOddballKind = 3; static const int kNullOddballKind = 3;
......
...@@ -357,7 +357,6 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits; ...@@ -357,7 +357,6 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits;
V(ODDBALL_TYPE) \ V(ODDBALL_TYPE) \
V(CELL_TYPE) \ V(CELL_TYPE) \
V(PROPERTY_CELL_TYPE) \ V(PROPERTY_CELL_TYPE) \
V(BOX_TYPE) \
\ \
V(HEAP_NUMBER_TYPE) \ V(HEAP_NUMBER_TYPE) \
V(FOREIGN_TYPE) \ V(FOREIGN_TYPE) \
...@@ -395,6 +394,7 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits; ...@@ -395,6 +394,7 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits;
V(POLYMORPHIC_CODE_CACHE_TYPE) \ V(POLYMORPHIC_CODE_CACHE_TYPE) \
V(TYPE_FEEDBACK_INFO_TYPE) \ V(TYPE_FEEDBACK_INFO_TYPE) \
V(ALIASED_ARGUMENTS_ENTRY_TYPE) \ V(ALIASED_ARGUMENTS_ENTRY_TYPE) \
V(BOX_TYPE) \
\ \
V(FIXED_ARRAY_TYPE) \ V(FIXED_ARRAY_TYPE) \
V(FIXED_DOUBLE_ARRAY_TYPE) \ V(FIXED_DOUBLE_ARRAY_TYPE) \
...@@ -699,7 +699,6 @@ enum InstanceType { ...@@ -699,7 +699,6 @@ enum InstanceType {
ODDBALL_TYPE, ODDBALL_TYPE,
CELL_TYPE, CELL_TYPE,
PROPERTY_CELL_TYPE, PROPERTY_CELL_TYPE,
BOX_TYPE,
// "Data", objects that cannot contain non-map-word pointers to heap // "Data", objects that cannot contain non-map-word pointers to heap
// objects. // objects.
...@@ -738,6 +737,7 @@ enum InstanceType { ...@@ -738,6 +737,7 @@ enum InstanceType {
POLYMORPHIC_CODE_CACHE_TYPE, POLYMORPHIC_CODE_CACHE_TYPE,
TYPE_FEEDBACK_INFO_TYPE, TYPE_FEEDBACK_INFO_TYPE,
ALIASED_ARGUMENTS_ENTRY_TYPE, ALIASED_ARGUMENTS_ENTRY_TYPE,
BOX_TYPE,
// The following two instance types are only used when ENABLE_DEBUGGER_SUPPORT // The following two instance types are only used when ENABLE_DEBUGGER_SUPPORT
// is defined. However as include/v8.h contain some of the instance type // is defined. However as include/v8.h contain some of the instance type
// constants always having them avoids them getting different numbers // constants always having them avoids them getting different numbers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment