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

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

Issue 132063: Allow functions to have custom construct stubs that are called... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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.cc ('k') | src/runtime.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 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex) 2123 ACCESSORS(DebugInfo, original_code, Code, kOriginalCodeIndex)
2124 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex) 2124 ACCESSORS(DebugInfo, code, Code, kPatchedCodeIndex)
2125 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex) 2125 ACCESSORS(DebugInfo, break_points, FixedArray, kBreakPointsStateIndex)
2126 2126
2127 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex) 2127 ACCESSORS(BreakPointInfo, code_position, Smi, kCodePositionIndex)
2128 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex) 2128 ACCESSORS(BreakPointInfo, source_position, Smi, kSourcePositionIndex)
2129 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex) 2129 ACCESSORS(BreakPointInfo, statement_position, Smi, kStatementPositionIndex)
2130 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex) 2130 ACCESSORS(BreakPointInfo, break_point_objects, Object, kBreakPointObjectsIndex)
2131 #endif 2131 #endif
2132 2132
2133 ACCESSORS(SharedFunctionInfo, construct_stub, Code, kConstructStubOffset)
2133 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset) 2134 ACCESSORS(SharedFunctionInfo, name, Object, kNameOffset)
2134 ACCESSORS(SharedFunctionInfo, instance_class_name, Object, 2135 ACCESSORS(SharedFunctionInfo, instance_class_name, Object,
2135 kInstanceClassNameOffset) 2136 kInstanceClassNameOffset)
2136 ACCESSORS(SharedFunctionInfo, function_data, Object, 2137 ACCESSORS(SharedFunctionInfo, function_data, Object,
2137 kExternalReferenceDataOffset) 2138 kExternalReferenceDataOffset)
2138 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset) 2139 ACCESSORS(SharedFunctionInfo, script, Object, kScriptOffset)
2139 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset) 2140 ACCESSORS(SharedFunctionInfo, debug_info, Object, kDebugInfoOffset)
2140 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset) 2141 ACCESSORS(SharedFunctionInfo, inferred_name, String, kInferredNameOffset)
2141 2142
2142 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype, 2143 BOOL_ACCESSORS(FunctionTemplateInfo, flag, hidden_prototype,
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
2675 #undef WRITE_INT_FIELD 2676 #undef WRITE_INT_FIELD
2676 #undef READ_SHORT_FIELD 2677 #undef READ_SHORT_FIELD
2677 #undef WRITE_SHORT_FIELD 2678 #undef WRITE_SHORT_FIELD
2678 #undef READ_BYTE_FIELD 2679 #undef READ_BYTE_FIELD
2679 #undef WRITE_BYTE_FIELD 2680 #undef WRITE_BYTE_FIELD
2680 2681
2681 2682
2682 } } // namespace v8::internal 2683 } } // namespace v8::internal
2683 2684
2684 #endif // V8_OBJECTS_INL_H_ 2685 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698