| OLD | NEW |
| 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 #ifndef V8_DEBUG_LIVEEDIT_H_ | 5 #ifndef V8_DEBUG_LIVEEDIT_H_ |
| 6 #define V8_DEBUG_LIVEEDIT_H_ | 6 #define V8_DEBUG_LIVEEDIT_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 // Live Edit feature implementation. | 9 // Live Edit feature implementation. |
| 10 // User should be able to change script on already running VM. This feature | 10 // User should be able to change script on already running VM. This feature |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 int GetLiteralCount() { | 290 int GetLiteralCount() { |
| 291 return this->GetSmiValueField(kLiteralNumOffset_); | 291 return this->GetSmiValueField(kLiteralNumOffset_); |
| 292 } | 292 } |
| 293 | 293 |
| 294 int GetParentIndex() { | 294 int GetParentIndex() { |
| 295 return this->GetSmiValueField(kParentIndexOffset_); | 295 return this->GetSmiValueField(kParentIndexOffset_); |
| 296 } | 296 } |
| 297 | 297 |
| 298 Handle<Code> GetFunctionCode(); | 298 Handle<Code> GetFunctionCode(); |
| 299 | 299 |
| 300 MaybeHandle<TypeFeedbackVector> GetFeedbackVector(); | 300 MaybeHandle<TypeFeedbackMetadata> GetFeedbackMetadata(); |
| 301 | 301 |
| 302 Handle<Object> GetCodeScopeInfo(); | 302 Handle<Object> GetCodeScopeInfo(); |
| 303 | 303 |
| 304 int GetStartPosition() { | 304 int GetStartPosition() { |
| 305 return this->GetSmiValueField(kStartPositionOffset_); | 305 return this->GetSmiValueField(kStartPositionOffset_); |
| 306 } | 306 } |
| 307 | 307 |
| 308 int GetEndPosition() { return this->GetSmiValueField(kEndPositionOffset_); } | 308 int GetEndPosition() { return this->GetSmiValueField(kEndPositionOffset_); } |
| 309 | 309 |
| 310 private: | 310 private: |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 static const int kSharedInfoOffset_ = 3; | 356 static const int kSharedInfoOffset_ = 3; |
| 357 static const int kSize_ = 4; | 357 static const int kSize_ = 4; |
| 358 | 358 |
| 359 friend class JSArrayBasedStruct<SharedInfoWrapper>; | 359 friend class JSArrayBasedStruct<SharedInfoWrapper>; |
| 360 }; | 360 }; |
| 361 | 361 |
| 362 } // namespace internal | 362 } // namespace internal |
| 363 } // namespace v8 | 363 } // namespace v8 |
| 364 | 364 |
| 365 #endif /* V8_DEBUG_LIVEEDIT_H_ */ | 365 #endif /* V8_DEBUG_LIVEEDIT_H_ */ |
| OLD | NEW |