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

Side by Side Diff: src/objects-inl.h

Issue 2884: Stop adapting the arguments passed to the builtin implementations... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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/macro-assembler-ia32.cc ('k') | no next file » | 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 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 INT_ACCESSORS(SharedFunctionInfo, expected_nof_properties, 1776 INT_ACCESSORS(SharedFunctionInfo, expected_nof_properties,
1777 kExpectedNofPropertiesOffset) 1777 kExpectedNofPropertiesOffset)
1778 INT_ACCESSORS(SharedFunctionInfo, start_position_and_type, 1778 INT_ACCESSORS(SharedFunctionInfo, start_position_and_type,
1779 kStartPositionAndTypeOffset) 1779 kStartPositionAndTypeOffset)
1780 INT_ACCESSORS(SharedFunctionInfo, end_position, kEndPositionOffset) 1780 INT_ACCESSORS(SharedFunctionInfo, end_position, kEndPositionOffset)
1781 INT_ACCESSORS(SharedFunctionInfo, function_token_position, 1781 INT_ACCESSORS(SharedFunctionInfo, function_token_position,
1782 kFunctionTokenPositionOffset) 1782 kFunctionTokenPositionOffset)
1783 1783
1784 1784
1785 void SharedFunctionInfo::DontAdaptArguments() { 1785 void SharedFunctionInfo::DontAdaptArguments() {
1786 ASSERT(code()->kind() == Code::BUILTIN);
1786 set_formal_parameter_count(kDontAdaptArgumentsSentinel); 1787 set_formal_parameter_count(kDontAdaptArgumentsSentinel);
1787 } 1788 }
1788 1789
1789 1790
1790 int SharedFunctionInfo::start_position() { 1791 int SharedFunctionInfo::start_position() {
1791 return start_position_and_type() >> kStartPositionShift; 1792 return start_position_and_type() >> kStartPositionShift;
1792 } 1793 }
1793 1794
1794 1795
1795 void SharedFunctionInfo::set_start_position(int start_position) { 1796 void SharedFunctionInfo::set_start_position(int start_position) {
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 #undef WRITE_INT_FIELD 2125 #undef WRITE_INT_FIELD
2125 #undef READ_SHORT_FIELD 2126 #undef READ_SHORT_FIELD
2126 #undef WRITE_SHORT_FIELD 2127 #undef WRITE_SHORT_FIELD
2127 #undef READ_BYTE_FIELD 2128 #undef READ_BYTE_FIELD
2128 #undef WRITE_BYTE_FIELD 2129 #undef WRITE_BYTE_FIELD
2129 2130
2130 2131
2131 } } // namespace v8::internal 2132 } } // namespace v8::internal
2132 2133
2133 #endif // V8_OBJECTS_INL_H_ 2134 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/macro-assembler-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698