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

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

Issue 22990003: Add RemovePrototype to FunctionTemplate (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Test that function throws when constructed Created 7 years, 4 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') | test/cctest/test-api.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 // 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 4542 matching lines...) Expand 10 before | Expand all | Expand 10 after
4553 4553
4554 4554
4555 SMI_ACCESSORS(FunctionTemplateInfo, length, kLengthOffset) 4555 SMI_ACCESSORS(FunctionTemplateInfo, length, kLengthOffset)
4556 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 4556 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
4557 kHiddenPrototypeBit) 4557 kHiddenPrototypeBit)
4558 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit) 4558 BOOL_ACCESSORS(FunctionTemplateInfo, flag, undetectable, kUndetectableBit)
4559 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check, 4559 BOOL_ACCESSORS(FunctionTemplateInfo, flag, needs_access_check,
4560 kNeedsAccessCheckBit) 4560 kNeedsAccessCheckBit)
4561 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype, 4561 BOOL_ACCESSORS(FunctionTemplateInfo, flag, read_only_prototype,
4562 kReadOnlyPrototypeBit) 4562 kReadOnlyPrototypeBit)
4563 BOOL_ACCESSORS(FunctionTemplateInfo, flag, remove_prototype,
4564 kRemovePrototypeBit)
4563 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression, 4565 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_expression,
4564 kIsExpressionBit) 4566 kIsExpressionBit)
4565 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel, 4567 BOOL_ACCESSORS(SharedFunctionInfo, start_position_and_type, is_toplevel,
4566 kIsTopLevelBit) 4568 kIsTopLevelBit)
4567 4569
4568 BOOL_ACCESSORS(SharedFunctionInfo, 4570 BOOL_ACCESSORS(SharedFunctionInfo,
4569 compiler_hints, 4571 compiler_hints,
4570 allows_lazy_compilation, 4572 allows_lazy_compilation,
4571 kAllowLazyCompilation) 4573 kAllowLazyCompilation)
4572 BOOL_ACCESSORS(SharedFunctionInfo, 4574 BOOL_ACCESSORS(SharedFunctionInfo,
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
6244 #undef WRITE_UINT32_FIELD 6246 #undef WRITE_UINT32_FIELD
6245 #undef READ_SHORT_FIELD 6247 #undef READ_SHORT_FIELD
6246 #undef WRITE_SHORT_FIELD 6248 #undef WRITE_SHORT_FIELD
6247 #undef READ_BYTE_FIELD 6249 #undef READ_BYTE_FIELD
6248 #undef WRITE_BYTE_FIELD 6250 #undef WRITE_BYTE_FIELD
6249 6251
6250 6252
6251 } } // namespace v8::internal 6253 } } // namespace v8::internal
6252 6254
6253 #endif // V8_OBJECTS_INL_H_ 6255 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698