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

Side by Side Diff: src/js/macros.py

Issue 1865833002: [generators] Decouple generator resume from fullcodegen. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 macro ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) = (3 + (numBuckets) + ( (entry) * 3)); 231 macro ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) = (3 + (numBuckets) + ( (entry) * 3));
232 macro ORDERED_HASH_MAP_KEY_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(table , ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets))); 232 macro ORDERED_HASH_MAP_KEY_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(table , ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets)));
233 macro ORDERED_HASH_MAP_VALUE_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(tab le, ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) + 1)); 233 macro ORDERED_HASH_MAP_VALUE_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(tab le, ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) + 1));
234 macro ORDERED_HASH_MAP_CHAIN_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(tab le, ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) + 2)); 234 macro ORDERED_HASH_MAP_CHAIN_AT(table, entry, numBuckets) = (FIXED_ARRAY_GET(tab le, ORDERED_HASH_MAP_ENTRY_TO_INDEX(entry, numBuckets) + 2));
235 235
236 # Must match OrderedHashTable::kNotFound. 236 # Must match OrderedHashTable::kNotFound.
237 define NOT_FOUND = -1; 237 define NOT_FOUND = -1;
238 238
239 # Check whether debug is active. 239 # Check whether debug is active.
240 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0); 240 define DEBUG_IS_ACTIVE = (%_DebugIsActive() != 0);
241 macro DEBUG_PREPARE_STEP_IN_IF_STEPPING(function) = if (%_DebugIsActive() != 0) %DebugPrepareStepInIfStepping(function);
242 241
243 # SharedFlag equivalents 242 # SharedFlag equivalents
244 define kNotShared = false; 243 define kNotShared = false;
245 define kShared = true; 244 define kShared = true;
246 245
247 # UseCounters from include/v8.h 246 # UseCounters from include/v8.h
248 define kUseAsm = 0; 247 define kUseAsm = 0;
249 define kBreakIterator = 1; 248 define kBreakIterator = 1;
250 define kLegacyConst = 2; 249 define kLegacyConst = 2;
251 define kMarkDequeOverflow = 3; 250 define kMarkDequeOverflow = 3;
(...skipping 17 matching lines...) Expand all
269 define kSloppyModeBlockScopedFunctionRedefinition = 22; 268 define kSloppyModeBlockScopedFunctionRedefinition = 22;
270 define kForInInitializer = 23; 269 define kForInInitializer = 23;
271 define kArrayProtectorDirtied = 24; 270 define kArrayProtectorDirtied = 24;
272 define kArraySpeciesModified = 25; 271 define kArraySpeciesModified = 25;
273 define kArrayPrototypeConstructorModified = 26; 272 define kArrayPrototypeConstructorModified = 26;
274 define kArrayInstanceProtoModified = 27; 273 define kArrayInstanceProtoModified = 27;
275 define kArrayInstanceConstructorModified = 28; 274 define kArrayInstanceConstructorModified = 28;
276 define kLegacyFunctionDeclaration = 29; 275 define kLegacyFunctionDeclaration = 29;
277 define kRegExpPrototypeSourceGetter = 30; 276 define kRegExpPrototypeSourceGetter = 30;
278 define kRegExpPrototypeOldFlagGetter = 31; 277 define kRegExpPrototypeOldFlagGetter = 31;
OLDNEW
« src/deoptimizer.cc ('K') | « src/js/generator.js ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698