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

Side by Side Diff: src/objects-inl.h

Issue 2655253004: [inspector] introduced stepIntoAsync for chained callbacks (Closed)
Patch Set: fixed async/await and added tests Created 3 years, 10 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.h ('k') | src/runtime/runtime.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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 6009 matching lines...) Expand 10 before | Expand all | Expand 10 after
6020 kIsAnonymousExpression) 6020 kIsAnonymousExpression)
6021 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, deserialized, kDeserialized) 6021 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, deserialized, kDeserialized)
6022 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, has_no_side_effect, 6022 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, has_no_side_effect,
6023 kHasNoSideEffect) 6023 kHasNoSideEffect)
6024 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, computed_has_no_side_effect, 6024 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, computed_has_no_side_effect,
6025 kComputedHasNoSideEffect) 6025 kComputedHasNoSideEffect)
6026 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, debug_is_blackboxed, 6026 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, debug_is_blackboxed,
6027 kDebugIsBlackboxed) 6027 kDebugIsBlackboxed)
6028 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, computed_debug_is_blackboxed, 6028 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, computed_debug_is_blackboxed,
6029 kComputedDebugIsBlackboxed) 6029 kComputedDebugIsBlackboxed)
6030 BOOL_ACCESSORS(SharedFunctionInfo, debugger_hints, is_promise_builtin,
6031 kIsPromiseBuiltin)
6030 6032
6031 bool Script::HasValidSource() { 6033 bool Script::HasValidSource() {
6032 Object* src = this->source(); 6034 Object* src = this->source();
6033 if (!src->IsString()) return true; 6035 if (!src->IsString()) return true;
6034 String* src_str = String::cast(src); 6036 String* src_str = String::cast(src);
6035 if (!StringShape(src_str).IsExternal()) return true; 6037 if (!StringShape(src_str).IsExternal()) return true;
6036 if (src_str->IsOneByteRepresentation()) { 6038 if (src_str->IsOneByteRepresentation()) {
6037 return ExternalOneByteString::cast(src)->resource() != NULL; 6039 return ExternalOneByteString::cast(src)->resource() != NULL;
6038 } else if (src_str->IsTwoByteRepresentation()) { 6040 } else if (src_str->IsTwoByteRepresentation()) {
6039 return ExternalTwoByteString::cast(src)->resource() != NULL; 6041 return ExternalTwoByteString::cast(src)->resource() != NULL;
(...skipping 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after
8253 #undef WRITE_INT64_FIELD 8255 #undef WRITE_INT64_FIELD
8254 #undef READ_BYTE_FIELD 8256 #undef READ_BYTE_FIELD
8255 #undef WRITE_BYTE_FIELD 8257 #undef WRITE_BYTE_FIELD
8256 #undef NOBARRIER_READ_BYTE_FIELD 8258 #undef NOBARRIER_READ_BYTE_FIELD
8257 #undef NOBARRIER_WRITE_BYTE_FIELD 8259 #undef NOBARRIER_WRITE_BYTE_FIELD
8258 8260
8259 } // namespace internal 8261 } // namespace internal
8260 } // namespace v8 8262 } // namespace v8
8261 8263
8262 #endif // V8_OBJECTS_INL_H_ 8264 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698