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

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

Issue 2567333002: [promises] port NewPromiseCapability to TF (Closed)
Patch Set: git rid of stuff that snuck into patch Created 3 years, 12 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
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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 printf("Not a transition array\n"); 1693 printf("Not a transition array\n");
1693 } else { 1694 } else {
1694 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1695 reinterpret_cast<i::TransitionArray*>(object)->Print();
1695 } 1696 }
1696 } 1697 }
1697 1698
1698 extern void _v8_internal_Print_StackTrace() { 1699 extern void _v8_internal_Print_StackTrace() {
1699 i::Isolate* isolate = i::Isolate::Current(); 1700 i::Isolate* isolate = i::Isolate::Current();
1700 isolate->PrintStack(stdout); 1701 isolate->PrintStack(stdout);
1701 } 1702 }
OLDNEW
« src/objects-debug.cc ('K') | « src/objects-inl.h ('k') | src/promise-utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698