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

Side by Side Diff: src/liveedit.h

Issue 581993002: Introduce TypeFeedbackVector, as FixedArray grew constrictive. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Initial patch. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/full-codegen.cc ('k') | src/liveedit.cc » ('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 #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
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
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_ */
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698