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

Side by Side Diff: src/runtime/runtime.h

Issue 1543723002: Add web compat workarounds for ES2015 RegExp semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test expectations for new workaround Created 4 years, 12 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 F(CallSiteGetLineNumberRT, 1, 1) \ 344 F(CallSiteGetLineNumberRT, 1, 1) \
345 F(CallSiteGetColumnNumberRT, 1, 1) \ 345 F(CallSiteGetColumnNumberRT, 1, 1) \
346 F(CallSiteIsNativeRT, 1, 1) \ 346 F(CallSiteIsNativeRT, 1, 1) \
347 F(CallSiteIsToplevelRT, 1, 1) \ 347 F(CallSiteIsToplevelRT, 1, 1) \
348 F(CallSiteIsEvalRT, 1, 1) \ 348 F(CallSiteIsEvalRT, 1, 1) \
349 F(CallSiteIsConstructorRT, 1, 1) \ 349 F(CallSiteIsConstructorRT, 1, 1) \
350 F(IS_VAR, 1, 1) \ 350 F(IS_VAR, 1, 1) \
351 F(IncrementStatsCounter, 1, 1) \ 351 F(IncrementStatsCounter, 1, 1) \
352 F(ThrowConstructedNonConstructable, 1, 1) \ 352 F(ThrowConstructedNonConstructable, 1, 1) \
353 F(ThrowCalledNonCallable, 1, 1) \ 353 F(ThrowCalledNonCallable, 1, 1) \
354 F(CreateListFromArrayLike, 1, 1) 354 F(CreateListFromArrayLike, 1, 1) \
355 F(IncrementUseCounter, 1, 1)
355 356
356 357
357 #define FOR_EACH_INTRINSIC_JSON(F) \ 358 #define FOR_EACH_INTRINSIC_JSON(F) \
358 F(QuoteJSONString, 1, 1) \ 359 F(QuoteJSONString, 1, 1) \
359 F(BasicJSONStringify, 1, 1) \ 360 F(BasicJSONStringify, 1, 1) \
360 F(ParseJson, 1, 1) 361 F(ParseJson, 1, 1)
361 362
362 363
363 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 364 #define FOR_EACH_INTRINSIC_LITERALS(F) \
364 F(CreateRegExpLiteral, 4, 1) \ 365 F(CreateRegExpLiteral, 4, 1) \
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 1253
1253 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1254 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1254 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1255 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1255 STATIC_ASSERT(LANGUAGE_END == 3); 1256 STATIC_ASSERT(LANGUAGE_END == 3);
1256 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1257 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1257 1258
1258 } // namespace internal 1259 } // namespace internal
1259 } // namespace v8 1260 } // namespace v8
1260 1261
1261 #endif // V8_RUNTIME_RUNTIME_H_ 1262 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/js/regexp.js ('K') | « src/js/regexp.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698