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

Side by Side Diff: src/code-stub-assembler.cc

Issue 2606093002: [promises] Refactor debug code (Closed)
Patch Set: fix stuff 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 | « no previous file | src/contexts.h » ('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 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
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
OLDNEW
« no previous file with comments | « no previous file | src/contexts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698