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

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

Issue 6815006: [Arguments] Mark functions with duplicated parameters. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Moved bit from scope to function literal. Created 9 years, 8 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/objects.h ('k') | src/parser.cc » ('j') | src/scopes.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3045 matching lines...) Expand 10 before | Expand all | Expand 10 after
3056 has_only_simple_this_property_assignments, 3056 has_only_simple_this_property_assignments,
3057 kHasOnlySimpleThisPropertyAssignments) 3057 kHasOnlySimpleThisPropertyAssignments)
3058 BOOL_ACCESSORS(SharedFunctionInfo, 3058 BOOL_ACCESSORS(SharedFunctionInfo,
3059 compiler_hints, 3059 compiler_hints,
3060 allows_lazy_compilation, 3060 allows_lazy_compilation,
3061 kAllowLazyCompilation) 3061 kAllowLazyCompilation)
3062 BOOL_ACCESSORS(SharedFunctionInfo, 3062 BOOL_ACCESSORS(SharedFunctionInfo,
3063 compiler_hints, 3063 compiler_hints,
3064 uses_arguments, 3064 uses_arguments,
3065 kUsesArguments) 3065 kUsesArguments)
3066 BOOL_ACCESSORS(SharedFunctionInfo,
3067 compiler_hints,
3068 has_duplicate_parameters,
3069 kHasDuplicateParameters)
3066 3070
3067 3071
3068 #if V8_HOST_ARCH_32_BIT 3072 #if V8_HOST_ARCH_32_BIT
3069 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset) 3073 SMI_ACCESSORS(SharedFunctionInfo, length, kLengthOffset)
3070 SMI_ACCESSORS(SharedFunctionInfo, formal_parameter_count, 3074 SMI_ACCESSORS(SharedFunctionInfo, formal_parameter_count,
3071 kFormalParameterCountOffset) 3075 kFormalParameterCountOffset)
3072 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties, 3076 SMI_ACCESSORS(SharedFunctionInfo, expected_nof_properties,
3073 kExpectedNofPropertiesOffset) 3077 kExpectedNofPropertiesOffset)
3074 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset) 3078 SMI_ACCESSORS(SharedFunctionInfo, num_literals, kNumLiteralsOffset)
3075 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type, 3079 SMI_ACCESSORS(SharedFunctionInfo, start_position_and_type,
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
4151 #undef WRITE_INT_FIELD 4155 #undef WRITE_INT_FIELD
4152 #undef READ_SHORT_FIELD 4156 #undef READ_SHORT_FIELD
4153 #undef WRITE_SHORT_FIELD 4157 #undef WRITE_SHORT_FIELD
4154 #undef READ_BYTE_FIELD 4158 #undef READ_BYTE_FIELD
4155 #undef WRITE_BYTE_FIELD 4159 #undef WRITE_BYTE_FIELD
4156 4160
4157 4161
4158 } } // namespace v8::internal 4162 } } // namespace v8::internal
4159 4163
4160 #endif // V8_OBJECTS_INL_H_ 4164 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/parser.cc » ('j') | src/scopes.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698