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

Side by Side Diff: src/objects.h

Issue 2627543004: [test] Fix test-api.cc test for caching of FunctionTemplate. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « src/api.cc ('k') | test/cctest/test-api.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include <memory> 9 #include <memory>
10 10
(...skipping 11438 matching lines...) Expand 10 before | Expand all | Expand 10 after
11449 DECL_BOOLEAN_ACCESSORS(accept_any_receiver) 11449 DECL_BOOLEAN_ACCESSORS(accept_any_receiver)
11450 11450
11451 DECL_ACCESSORS(cached_property_name, Object) 11451 DECL_ACCESSORS(cached_property_name, Object)
11452 11452
11453 DECLARE_CAST(FunctionTemplateInfo) 11453 DECLARE_CAST(FunctionTemplateInfo)
11454 11454
11455 // Dispatched behavior. 11455 // Dispatched behavior.
11456 DECLARE_PRINTER(FunctionTemplateInfo) 11456 DECLARE_PRINTER(FunctionTemplateInfo)
11457 DECLARE_VERIFIER(FunctionTemplateInfo) 11457 DECLARE_VERIFIER(FunctionTemplateInfo)
11458 11458
11459 static const int kInvalidSerialNumber = 0;
11460
11459 static const int kCallCodeOffset = TemplateInfo::kHeaderSize; 11461 static const int kCallCodeOffset = TemplateInfo::kHeaderSize;
11460 static const int kPrototypeTemplateOffset = 11462 static const int kPrototypeTemplateOffset =
11461 kCallCodeOffset + kPointerSize; 11463 kCallCodeOffset + kPointerSize;
11462 static const int kPrototypeProviderTemplateOffset = 11464 static const int kPrototypeProviderTemplateOffset =
11463 kPrototypeTemplateOffset + kPointerSize; 11465 kPrototypeTemplateOffset + kPointerSize;
11464 static const int kParentTemplateOffset = 11466 static const int kParentTemplateOffset =
11465 kPrototypeProviderTemplateOffset + kPointerSize; 11467 kPrototypeProviderTemplateOffset + kPointerSize;
11466 static const int kNamedPropertyHandlerOffset = 11468 static const int kNamedPropertyHandlerOffset =
11467 kParentTemplateOffset + kPointerSize; 11469 kParentTemplateOffset + kPointerSize;
11468 static const int kIndexedPropertyHandlerOffset = 11470 static const int kIndexedPropertyHandlerOffset =
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
11756 } 11758 }
11757 }; 11759 };
11758 11760
11759 11761
11760 } // NOLINT, false-positive due to second-order macros. 11762 } // NOLINT, false-positive due to second-order macros.
11761 } // NOLINT, false-positive due to second-order macros. 11763 } // NOLINT, false-positive due to second-order macros.
11762 11764
11763 #include "src/objects/object-macros-undef.h" 11765 #include "src/objects/object-macros-undef.h"
11764 11766
11765 #endif // V8_OBJECTS_H_ 11767 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698