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

Side by Side Diff: src/objects-printer.cc

Issue 2567333002: [promises] port NewPromiseCapability to TF (Closed)
Patch Set: Make gcmole happy 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 | « src/objects-inl.h ('k') | src/promise-utils.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 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 #include "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 case FILLER_TYPE: 145 case FILLER_TYPE:
146 os << "filler"; 146 os << "filler";
147 break; 147 break;
148 case JS_OBJECT_TYPE: // fall through 148 case JS_OBJECT_TYPE: // fall through
149 case JS_API_OBJECT_TYPE: 149 case JS_API_OBJECT_TYPE:
150 case JS_SPECIAL_API_OBJECT_TYPE: 150 case JS_SPECIAL_API_OBJECT_TYPE:
151 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 151 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
152 case JS_GENERATOR_OBJECT_TYPE: 152 case JS_GENERATOR_OBJECT_TYPE:
153 case JS_ARGUMENTS_TYPE: 153 case JS_ARGUMENTS_TYPE:
154 case JS_ERROR_TYPE: 154 case JS_ERROR_TYPE:
155 case JS_PROMISE_CAPABILITY_TYPE:
155 JSObject::cast(this)->JSObjectPrint(os); 156 JSObject::cast(this)->JSObjectPrint(os);
156 break; 157 break;
157 case JS_PROMISE_TYPE: 158 case JS_PROMISE_TYPE:
158 JSPromise::cast(this)->JSPromisePrint(os); 159 JSPromise::cast(this)->JSPromisePrint(os);
159 break; 160 break;
160 case JS_ARRAY_TYPE: 161 case JS_ARRAY_TYPE:
161 JSArray::cast(this)->JSArrayPrint(os); 162 JSArray::cast(this)->JSArrayPrint(os);
162 break; 163 break;
163 case JS_REGEXP_TYPE: 164 case JS_REGEXP_TYPE:
164 JSRegExp::cast(this)->JSRegExpPrint(os); 165 JSRegExp::cast(this)->JSRegExpPrint(os);
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 printf("Not a transition array\n"); 1685 printf("Not a transition array\n");
1685 } else { 1686 } else {
1686 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1687 reinterpret_cast<i::TransitionArray*>(object)->Print();
1687 } 1688 }
1688 } 1689 }
1689 1690
1690 extern void _v8_internal_Print_StackTrace() { 1691 extern void _v8_internal_Print_StackTrace() {
1691 i::Isolate* isolate = i::Isolate::Current(); 1692 i::Isolate* isolate = i::Isolate::Current();
1692 isolate->PrintStack(stdout); 1693 isolate->PrintStack(stdout);
1693 } 1694 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/promise-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698