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

Side by Side Diff: src/macros.py

Issue 233293005: Remove hand-written assembly ArrayPush stubs (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix test comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const kMonthShift = 5; 80 const kMonthShift = 5;
81 81
82 # Limits for parts of the date, so that we support all the dates that 82 # Limits for parts of the date, so that we support all the dates that
83 # ECMA 262 - 15.9.1.1 requires us to, but at the same time be sure that 83 # ECMA 262 - 15.9.1.1 requires us to, but at the same time be sure that
84 # the date (days since 1970) is in SMI range. 84 # the date (days since 1970) is in SMI range.
85 const kMinYear = -1000000; 85 const kMinYear = -1000000;
86 const kMaxYear = 1000000; 86 const kMaxYear = 1000000;
87 const kMinMonth = -10000000; 87 const kMinMonth = -10000000;
88 const kMaxMonth = 10000000; 88 const kMaxMonth = 10000000;
89 89
90 # Strict mode flags for passing to %SetProperty
91 const kSloppyMode = 0;
92 const kStrictMode = 1;
93
90 # Native cache ids. 94 # Native cache ids.
91 const STRING_TO_REGEXP_CACHE_ID = 0; 95 const STRING_TO_REGEXP_CACHE_ID = 0;
92 96
93 # Type query macros. 97 # Type query macros.
94 # 98 #
95 # Note: We have special support for typeof(foo) === 'bar' in the compiler. 99 # Note: We have special support for typeof(foo) === 'bar' in the compiler.
96 # It will *not* generate a runtime typeof call for the most important 100 # It will *not* generate a runtime typeof call for the most important
97 # values of 'bar'. 101 # values of 'bar'.
98 macro IS_NULL(arg) = (arg === null); 102 macro IS_NULL(arg) = (arg === null);
99 macro IS_NULL_OR_UNDEFINED(arg) = (arg == null); 103 macro IS_NULL_OR_UNDEFINED(arg) = (arg == null);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 const COMPILATION_TYPE_JSON = 2; 269 const COMPILATION_TYPE_JSON = 2;
266 270
267 # Matches Messages::kNoLineNumberInfo from v8.h 271 # Matches Messages::kNoLineNumberInfo from v8.h
268 const kNoLineNumberInfo = 0; 272 const kNoLineNumberInfo = 0;
269 273
270 # Matches PropertyAttributes from property-details.h 274 # Matches PropertyAttributes from property-details.h
271 const PROPERTY_ATTRIBUTES_NONE = 0; 275 const PROPERTY_ATTRIBUTES_NONE = 0;
272 const PROPERTY_ATTRIBUTES_STRING = 8; 276 const PROPERTY_ATTRIBUTES_STRING = 8;
273 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; 277 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16;
274 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; 278 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32;
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698