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

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

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)
Patch Set: override current scheduled step into async if presented Created 3 years, 9 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 // 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 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after
8271 #undef WRITE_INT64_FIELD 8273 #undef WRITE_INT64_FIELD
8272 #undef READ_BYTE_FIELD 8274 #undef READ_BYTE_FIELD
8273 #undef WRITE_BYTE_FIELD 8275 #undef WRITE_BYTE_FIELD
8274 #undef NOBARRIER_READ_BYTE_FIELD 8276 #undef NOBARRIER_READ_BYTE_FIELD
8275 #undef NOBARRIER_WRITE_BYTE_FIELD 8277 #undef NOBARRIER_WRITE_BYTE_FIELD
8276 8278
8277 } // namespace internal 8279 } // namespace internal
8278 } // namespace v8 8280 } // namespace v8
8279 8281
8280 #endif // V8_OBJECTS_INL_H_ 8282 #endif // V8_OBJECTS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698