OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/code-stub-assembler.h" | 4 #include "src/code-stub-assembler.h" |
5 #include "src/code-factory.h" | 5 #include "src/code-factory.h" |
6 #include "src/frames-inl.h" | 6 #include "src/frames-inl.h" |
7 #include "src/frames.h" | 7 #include "src/frames.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 8223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8234 StoreObjectFieldNoWriteBarrier( | 8234 StoreObjectFieldNoWriteBarrier( |
8235 result, PromiseReactionJobInfo::kDeferredPromiseOffset, deferred_promise); | 8235 result, PromiseReactionJobInfo::kDeferredPromiseOffset, deferred_promise); |
8236 StoreObjectFieldNoWriteBarrier( | 8236 StoreObjectFieldNoWriteBarrier( |
8237 result, PromiseReactionJobInfo::kDeferredOnResolveOffset, | 8237 result, PromiseReactionJobInfo::kDeferredOnResolveOffset, |
8238 deferred_on_resolve); | 8238 deferred_on_resolve); |
8239 StoreObjectFieldNoWriteBarrier( | 8239 StoreObjectFieldNoWriteBarrier( |
8240 result, PromiseReactionJobInfo::kDeferredOnRejectOffset, | 8240 result, PromiseReactionJobInfo::kDeferredOnRejectOffset, |
8241 deferred_on_reject); | 8241 deferred_on_reject); |
8242 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kDebugIdOffset, | 8242 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kDebugIdOffset, |
8243 SmiConstant(kDebugPromiseNoID)); | 8243 SmiConstant(kDebugPromiseNoID)); |
8244 StoreObjectFieldNoWriteBarrier(result, | |
8245 PromiseReactionJobInfo::kDebugNameOffset, | |
8246 SmiConstant(kDebugNotActive)); | |
8247 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kContextOffset, | 8244 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kContextOffset, |
8248 context); | 8245 context); |
8249 return result; | 8246 return result; |
8250 } | 8247 } |
8251 | 8248 |
8252 } // namespace internal | 8249 } // namespace internal |
8253 } // namespace v8 | 8250 } // namespace v8 |
OLD | NEW |