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

Side by Side Diff: src/macros.py

Issue 7736018: Make functions on the built-in object non-writable. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments. Created 9 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/ia32/full-codegen-ia32.cc ('k') | src/messages.js » ('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-2009 the V8 project authors. All rights reserved. 1 # Copyright 2006-2009 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 # PropertyDescriptor return value indices - must match 173 # PropertyDescriptor return value indices - must match
174 # PropertyDescriptorIndices in runtime.cc. 174 # PropertyDescriptorIndices in runtime.cc.
175 const IS_ACCESSOR_INDEX = 0; 175 const IS_ACCESSOR_INDEX = 0;
176 const VALUE_INDEX = 1; 176 const VALUE_INDEX = 1;
177 const GETTER_INDEX = 2; 177 const GETTER_INDEX = 2;
178 const SETTER_INDEX = 3; 178 const SETTER_INDEX = 3;
179 const WRITABLE_INDEX = 4; 179 const WRITABLE_INDEX = 4;
180 const ENUMERABLE_INDEX = 5; 180 const ENUMERABLE_INDEX = 5;
181 const CONFIGURABLE_INDEX = 6; 181 const CONFIGURABLE_INDEX = 6;
182
183 # For messages.js
184 # Matches Script::Type from objects.h
185 const TYPE_NATIVE = 0;
186 const TYPE_EXTENSION = 1;
187 const TYPE_NORMAL = 2;
188
189 # Matches Script::CompilationType from objects.h
190 const COMPILATION_TYPE_HOST = 0;
191 const COMPILATION_TYPE_EVAL = 1;
192 const COMPILATION_TYPE_JSON = 2;
193
194 # Matches Messages::kNoLineNumberInfo from v8.h
195 const kNoLineNumberInfo = 0;
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698