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

Side by Side Diff: src/objects.h

Issue 17833002: Remove obsolete unchecked accessors in JSFunction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/mark-compact.cc ('k') | src/objects-inl.h » ('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 // 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 6549 matching lines...) Expand 10 before | Expand all | Expand 10 after
6560 public: 6560 public:
6561 // [prototype_or_initial_map]: 6561 // [prototype_or_initial_map]:
6562 DECL_ACCESSORS(prototype_or_initial_map, Object) 6562 DECL_ACCESSORS(prototype_or_initial_map, Object)
6563 6563
6564 // [shared]: The information about the function that 6564 // [shared]: The information about the function that
6565 // can be shared by instances. 6565 // can be shared by instances.
6566 DECL_ACCESSORS(shared, SharedFunctionInfo) 6566 DECL_ACCESSORS(shared, SharedFunctionInfo)
6567 6567
6568 // [context]: The context for this function. 6568 // [context]: The context for this function.
6569 inline Context* context(); 6569 inline Context* context();
6570 inline Object* unchecked_context();
6571 inline void set_context(Object* context); 6570 inline void set_context(Object* context);
6572 6571
6573 // [code]: The generated code object for this function. Executed 6572 // [code]: The generated code object for this function. Executed
6574 // when the function is invoked, e.g. foo() or new foo(). See 6573 // when the function is invoked, e.g. foo() or new foo(). See
6575 // [[Call]] and [[Construct]] description in ECMA-262, section 6574 // [[Call]] and [[Construct]] description in ECMA-262, section
6576 // 8.6.2, page 27. 6575 // 8.6.2, page 27.
6577 inline Code* code(); 6576 inline Code* code();
6578 inline void set_code(Code* code); 6577 inline void set_code(Code* code);
6579 inline void set_code_no_write_barrier(Code* code); 6578 inline void set_code_no_write_barrier(Code* code);
6580 inline void ReplaceCode(Code* code); 6579 inline void ReplaceCode(Code* code);
6581 6580
6582 inline Code* unchecked_code();
6583
6584 // Tells whether this function is builtin. 6581 // Tells whether this function is builtin.
6585 inline bool IsBuiltin(); 6582 inline bool IsBuiltin();
6586 6583
6587 // Tells whether or not the function needs arguments adaption. 6584 // Tells whether or not the function needs arguments adaption.
6588 inline bool NeedsArgumentsAdaption(); 6585 inline bool NeedsArgumentsAdaption();
6589 6586
6590 // Tells whether or not this function has been optimized. 6587 // Tells whether or not this function has been optimized.
6591 inline bool IsOptimized(); 6588 inline bool IsOptimized();
6592 6589
6593 // Tells whether or not this function can be optimized. 6590 // Tells whether or not this function can be optimized.
(...skipping 3131 matching lines...) Expand 10 before | Expand all | Expand 10 after
9725 } else { 9722 } else {
9726 value &= ~(1 << bit_position); 9723 value &= ~(1 << bit_position);
9727 } 9724 }
9728 return value; 9725 return value;
9729 } 9726 }
9730 }; 9727 };
9731 9728
9732 } } // namespace v8::internal 9729 } } // namespace v8::internal
9733 9730
9734 #endif // V8_OBJECTS_H_ 9731 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698