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

Side by Side Diff: src/objects.h

Issue 2889863002: Allow embedder to set promise internal field count (Closed)
Patch Set: More BUILD.gn fixes Created 3 years, 7 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/factory.cc ('k') | no next file » | 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 7357 matching lines...) Expand 10 before | Expand all | Expand 10 after
7368 static const int kDeferredOnResolveOffset = 7368 static const int kDeferredOnResolveOffset =
7369 kDeferredPromiseOffset + kPointerSize; 7369 kDeferredPromiseOffset + kPointerSize;
7370 static const int kDeferredOnRejectOffset = 7370 static const int kDeferredOnRejectOffset =
7371 kDeferredOnResolveOffset + kPointerSize; 7371 kDeferredOnResolveOffset + kPointerSize;
7372 static const int kFulfillReactionsOffset = 7372 static const int kFulfillReactionsOffset =
7373 kDeferredOnRejectOffset + kPointerSize; 7373 kDeferredOnRejectOffset + kPointerSize;
7374 static const int kRejectReactionsOffset = 7374 static const int kRejectReactionsOffset =
7375 kFulfillReactionsOffset + kPointerSize; 7375 kFulfillReactionsOffset + kPointerSize;
7376 static const int kFlagsOffset = kRejectReactionsOffset + kPointerSize; 7376 static const int kFlagsOffset = kRejectReactionsOffset + kPointerSize;
7377 static const int kSize = kFlagsOffset + kPointerSize; 7377 static const int kSize = kFlagsOffset + kPointerSize;
7378 static const int kSizeWithEmbedderFields =
7379 kSize + v8::Promise::kEmbedderFieldCount * kPointerSize;
7378 7380
7379 // Flags layout. 7381 // Flags layout.
7380 static const int kHasHandlerBit = 0; 7382 static const int kHasHandlerBit = 0;
7381 static const int kHandledHintBit = 1; 7383 static const int kHandledHintBit = 1;
7382 }; 7384 };
7383 7385
7384 // Regular expressions 7386 // Regular expressions
7385 // The regular expression holds a single reference to a FixedArray in 7387 // The regular expression holds a single reference to a FixedArray in
7386 // the kDataOffset field. 7388 // the kDataOffset field.
7387 // The FixedArray contains the following data: 7389 // The FixedArray contains the following data:
(...skipping 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after
10215 } 10217 }
10216 }; 10218 };
10217 10219
10218 10220
10219 } // NOLINT, false-positive due to second-order macros. 10221 } // NOLINT, false-positive due to second-order macros.
10220 } // NOLINT, false-positive due to second-order macros. 10222 } // NOLINT, false-positive due to second-order macros.
10221 10223
10222 #include "src/objects/object-macros-undef.h" 10224 #include "src/objects/object-macros-undef.h"
10223 10225
10224 #endif // V8_OBJECTS_H_ 10226 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698