| 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 8340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8351 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kTasksOffset, | 8351 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kTasksOffset, |
| 8352 tasks); | 8352 tasks); |
| 8353 StoreObjectFieldNoWriteBarrier( | 8353 StoreObjectFieldNoWriteBarrier( |
| 8354 result, PromiseReactionJobInfo::kDeferredPromiseOffset, deferred_promise); | 8354 result, PromiseReactionJobInfo::kDeferredPromiseOffset, deferred_promise); |
| 8355 StoreObjectFieldNoWriteBarrier( | 8355 StoreObjectFieldNoWriteBarrier( |
| 8356 result, PromiseReactionJobInfo::kDeferredOnResolveOffset, | 8356 result, PromiseReactionJobInfo::kDeferredOnResolveOffset, |
| 8357 deferred_on_resolve); | 8357 deferred_on_resolve); |
| 8358 StoreObjectFieldNoWriteBarrier( | 8358 StoreObjectFieldNoWriteBarrier( |
| 8359 result, PromiseReactionJobInfo::kDeferredOnRejectOffset, | 8359 result, PromiseReactionJobInfo::kDeferredOnRejectOffset, |
| 8360 deferred_on_reject); | 8360 deferred_on_reject); |
| 8361 StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugIdOffset, | 8361 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kDebugIdOffset, |
| 8362 Heap::kUndefinedValueRootIndex); | 8362 SmiConstant(kDebugPromiseNoID)); |
| 8363 StoreObjectFieldRoot(result, PromiseReactionJobInfo::kDebugNameOffset, | 8363 StoreObjectFieldNoWriteBarrier(result, |
| 8364 Heap::kUndefinedValueRootIndex); | 8364 PromiseReactionJobInfo::kDebugNameOffset, |
| 8365 SmiConstant(kDebugNotActive)); |
| 8365 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kContextOffset, | 8366 StoreObjectFieldNoWriteBarrier(result, PromiseReactionJobInfo::kContextOffset, |
| 8366 context); | 8367 context); |
| 8367 return result; | 8368 return result; |
| 8368 } | 8369 } |
| 8369 | 8370 |
| 8370 } // namespace internal | 8371 } // namespace internal |
| 8371 } // namespace v8 | 8372 } // namespace v8 |
| OLD | NEW |