| 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_LIVEEDIT_H_ | 5 #ifndef V8_LIVEEDIT_H_ |
| 6 #define V8_LIVEEDIT_H_ | 6 #define V8_LIVEEDIT_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 // Live Edit feature implementation. | 10 // Live Edit feature implementation. |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 int GetLiteralCount() { | 300 int GetLiteralCount() { |
| 301 return this->GetSmiValueField(kLiteralNumOffset_); | 301 return this->GetSmiValueField(kLiteralNumOffset_); |
| 302 } | 302 } |
| 303 | 303 |
| 304 int GetParentIndex() { | 304 int GetParentIndex() { |
| 305 return this->GetSmiValueField(kParentIndexOffset_); | 305 return this->GetSmiValueField(kParentIndexOffset_); |
| 306 } | 306 } |
| 307 | 307 |
| 308 Handle<Code> GetFunctionCode(); | 308 Handle<Code> GetFunctionCode(); |
| 309 | 309 |
| 310 Handle<FixedArray> GetFeedbackVector(); | 310 Handle<TypeFeedbackVector> GetFeedbackVector(); |
| 311 | 311 |
| 312 Handle<Object> GetCodeScopeInfo(); | 312 Handle<Object> GetCodeScopeInfo(); |
| 313 | 313 |
| 314 int GetStartPosition() { | 314 int GetStartPosition() { |
| 315 return this->GetSmiValueField(kStartPositionOffset_); | 315 return this->GetSmiValueField(kStartPositionOffset_); |
| 316 } | 316 } |
| 317 | 317 |
| 318 int GetEndPosition() { return this->GetSmiValueField(kEndPositionOffset_); } | 318 int GetEndPosition() { return this->GetSmiValueField(kEndPositionOffset_); } |
| 319 | 319 |
| 320 int GetSlotCount() { | 320 int GetSlotCount() { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 static const int kEndPositionOffset_ = 2; | 371 static const int kEndPositionOffset_ = 2; |
| 372 static const int kSharedInfoOffset_ = 3; | 372 static const int kSharedInfoOffset_ = 3; |
| 373 static const int kSize_ = 4; | 373 static const int kSize_ = 4; |
| 374 | 374 |
| 375 friend class JSArrayBasedStruct<SharedInfoWrapper>; | 375 friend class JSArrayBasedStruct<SharedInfoWrapper>; |
| 376 }; | 376 }; |
| 377 | 377 |
| 378 } } // namespace v8::internal | 378 } } // namespace v8::internal |
| 379 | 379 |
| 380 #endif /* V*_LIVEEDIT_H_ */ | 380 #endif /* V*_LIVEEDIT_H_ */ |
| OLD | NEW |