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

Side by Side Diff: src/frames.h

Issue 6664001: [Isolates] Merge (7083,7111] from bleeding_edge. (Closed)
Patch Set: Created 9 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
« no previous file with comments | « src/factory.cc ('k') | src/frames.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 // Accessors. 452 // Accessors.
453 inline Object* function() const; 453 inline Object* function() const;
454 inline Object* receiver() const; 454 inline Object* receiver() const;
455 inline void set_receiver(Object* value); 455 inline void set_receiver(Object* value);
456 456
457 // Access the parameters. 457 // Access the parameters.
458 Object* GetParameter(int index) const; 458 Object* GetParameter(int index) const;
459 int ComputeParametersCount() const; 459 int ComputeParametersCount() const;
460 460
461 // Temporary way of getting access to the number of parameters
462 // passed on the stack by the caller. Once argument adaptor frames
463 // has been introduced on ARM, this number will always match the
464 // computed parameters count.
465 int GetProvidedParametersCount() const;
466
467 // Check if this frame is a constructor frame invoked through 'new'. 461 // Check if this frame is a constructor frame invoked through 'new'.
468 bool IsConstructor() const; 462 bool IsConstructor() const;
469 463
470 // Check if this frame has "adapted" arguments in the sense that the 464 // Check if this frame has "adapted" arguments in the sense that the
471 // actual passed arguments are available in an arguments adaptor 465 // actual passed arguments are available in an arguments adaptor
472 // frame below it on the stack. 466 // frame below it on the stack.
473 inline bool has_adapted_arguments() const; 467 inline bool has_adapted_arguments() const;
474 468
475 // Garbage collection support. 469 // Garbage collection support.
476 virtual void Iterate(ObjectVisitor* v) const; 470 virtual void Iterate(ObjectVisitor* v) const;
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 }; 828 };
835 829
836 830
837 // Reads all frames on the current stack and copies them into the current 831 // Reads all frames on the current stack and copies them into the current
838 // zone memory. 832 // zone memory.
839 Vector<StackFrame*> CreateStackMap(); 833 Vector<StackFrame*> CreateStackMap();
840 834
841 } } // namespace v8::internal 835 } } // namespace v8::internal
842 836
843 #endif // V8_FRAMES_H_ 837 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698