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

Side by Side Diff: src/objects.h

Issue 1409593002: [api] expose API for adding per-context Intrinsics to Templates (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bot failure Created 5 years, 2 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-natives.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 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 #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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 10364 matching lines...) Expand 10 before | Expand all | Expand 10 after
10375 DECL_ACCESSORS(property_list, Object) 10375 DECL_ACCESSORS(property_list, Object)
10376 DECL_ACCESSORS(property_accessors, Object) 10376 DECL_ACCESSORS(property_accessors, Object)
10377 10377
10378 DECLARE_VERIFIER(TemplateInfo) 10378 DECLARE_VERIFIER(TemplateInfo)
10379 10379
10380 static const int kTagOffset = HeapObject::kHeaderSize; 10380 static const int kTagOffset = HeapObject::kHeaderSize;
10381 static const int kNumberOfProperties = kTagOffset + kPointerSize; 10381 static const int kNumberOfProperties = kTagOffset + kPointerSize;
10382 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize; 10382 static const int kPropertyListOffset = kNumberOfProperties + kPointerSize;
10383 static const int kPropertyAccessorsOffset = 10383 static const int kPropertyAccessorsOffset =
10384 kPropertyListOffset + kPointerSize; 10384 kPropertyListOffset + kPointerSize;
10385 static const int kHeaderSize = kPropertyAccessorsOffset + kPointerSize; 10385 static const int kPropertyIntrinsicsOffset =
10386 kPropertyAccessorsOffset + kPointerSize;
10387 static const int kHeaderSize = kPropertyIntrinsicsOffset + kPointerSize;
10386 10388
10387 private: 10389 private:
10388 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo); 10390 DISALLOW_IMPLICIT_CONSTRUCTORS(TemplateInfo);
10389 }; 10391 };
10390 10392
10391 10393
10392 class FunctionTemplateInfo: public TemplateInfo { 10394 class FunctionTemplateInfo: public TemplateInfo {
10393 public: 10395 public:
10394 DECL_ACCESSORS(serial_number, Object) 10396 DECL_ACCESSORS(serial_number, Object)
10395 DECL_ACCESSORS(call_code, Object) 10397 DECL_ACCESSORS(call_code, Object)
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
10786 // (elements + properties) in the current level. 10788 // (elements + properties) in the current level.
10787 int levelLength_; 10789 int levelLength_;
10788 10790
10789 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10791 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10790 }; 10792 };
10791 10793
10792 } // NOLINT, false-positive due to second-order macros. 10794 } // NOLINT, false-positive due to second-order macros.
10793 } // NOLINT, false-positive due to second-order macros. 10795 } // NOLINT, false-positive due to second-order macros.
10794 10796
10795 #endif // V8_OBJECTS_H_ 10797 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/api-natives.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698