| OLD | NEW | 
|---|
| 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 #include "src/v8.h" | 5 #include "src/v8.h" | 
| 6 | 6 | 
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" | 
| 8 #include "src/api.h" | 8 #include "src/api.h" | 
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" | 
| 10 #include "src/base/once.h" | 10 #include "src/base/once.h" | 
| (...skipping 6652 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6663 #define COMPARE_AND_RETURN_NAME(name)                                          \ | 6663 #define COMPARE_AND_RETURN_NAME(name)                                          \ | 
| 6664   case FIRST_CODE_AGE_SUB_TYPE + Code::k##name##CodeAge - Code::kFirstCodeAge: \ | 6664   case FIRST_CODE_AGE_SUB_TYPE + Code::k##name##CodeAge - Code::kFirstCodeAge: \ | 
| 6665     *object_type = "CODE_TYPE";                                                \ | 6665     *object_type = "CODE_TYPE";                                                \ | 
| 6666     *object_sub_type = "CODE_AGE/" #name;                                      \ | 6666     *object_sub_type = "CODE_AGE/" #name;                                      \ | 
| 6667     return true; | 6667     return true; | 
| 6668     CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) | 6668     CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) | 
| 6669 #undef COMPARE_AND_RETURN_NAME | 6669 #undef COMPARE_AND_RETURN_NAME | 
| 6670   } | 6670   } | 
| 6671   return false; | 6671   return false; | 
| 6672 } | 6672 } | 
| 6673 } | 6673 }  // namespace internal | 
| 6674 }  // namespace v8::internal | 6674 }  // namespace v8 | 
| OLD | NEW | 
|---|