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

Side by Side Diff: src/macros.py

Issue 638423003: Split off remaining runtime functions in runtime.cc. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | « BUILD.gn ('k') | src/runtime/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-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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 # For the regexp capture override array. This has the same 247 # For the regexp capture override array. This has the same
248 # format as the arguments to a function called from 248 # format as the arguments to a function called from
249 # String.prototype.replace. 249 # String.prototype.replace.
250 macro OVERRIDE_MATCH(override) = ((override)[0]); 250 macro OVERRIDE_MATCH(override) = ((override)[0]);
251 macro OVERRIDE_POS(override) = ((override)[(override).length - 2]); 251 macro OVERRIDE_POS(override) = ((override)[(override).length - 2]);
252 macro OVERRIDE_SUBJECT(override) = ((override)[(override).length - 1]); 252 macro OVERRIDE_SUBJECT(override) = ((override)[(override).length - 1]);
253 # 1-based so index of 1 returns the first capture 253 # 1-based so index of 1 returns the first capture
254 macro OVERRIDE_CAPTURE(override, index) = ((override)[(index)]); 254 macro OVERRIDE_CAPTURE(override, index) = ((override)[(index)]);
255 255
256 # PropertyDescriptor return value indices - must match 256 # PropertyDescriptor return value indices - must match
257 # PropertyDescriptorIndices in runtime.cc. 257 # PropertyDescriptorIndices in runtime-object.cc.
258 const IS_ACCESSOR_INDEX = 0; 258 const IS_ACCESSOR_INDEX = 0;
259 const VALUE_INDEX = 1; 259 const VALUE_INDEX = 1;
260 const GETTER_INDEX = 2; 260 const GETTER_INDEX = 2;
261 const SETTER_INDEX = 3; 261 const SETTER_INDEX = 3;
262 const WRITABLE_INDEX = 4; 262 const WRITABLE_INDEX = 4;
263 const ENUMERABLE_INDEX = 5; 263 const ENUMERABLE_INDEX = 5;
264 const CONFIGURABLE_INDEX = 6; 264 const CONFIGURABLE_INDEX = 6;
265 265
266 # For messages.js 266 # For messages.js
267 # Matches Script::Type from objects.h 267 # Matches Script::Type from objects.h
(...skipping 15 matching lines...) Expand all
283 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; 283 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16;
284 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; 284 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32;
285 285
286 # Use for keys, values and entries iterators. 286 # Use for keys, values and entries iterators.
287 const ITERATOR_KIND_KEYS = 1; 287 const ITERATOR_KIND_KEYS = 1;
288 const ITERATOR_KIND_VALUES = 2; 288 const ITERATOR_KIND_VALUES = 2;
289 const ITERATOR_KIND_ENTRIES = 3; 289 const ITERATOR_KIND_ENTRIES = 3;
290 290
291 # Check whether debug is active. 291 # Check whether debug is active.
292 const DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); 292 const DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0);
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/runtime/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698