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

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

Issue 1530293004: [proxies] Better print for proxies in d8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: do not expose intrinsics directly 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 F(BitwiseAnd_Strong, 2, 1) \ 532 F(BitwiseAnd_Strong, 2, 1) \
533 F(BitwiseOr, 2, 1) \ 533 F(BitwiseOr, 2, 1) \
534 F(BitwiseOr_Strong, 2, 1) \ 534 F(BitwiseOr_Strong, 2, 1) \
535 F(BitwiseXor, 2, 1) \ 535 F(BitwiseXor, 2, 1) \
536 F(BitwiseXor_Strong, 2, 1) 536 F(BitwiseXor_Strong, 2, 1)
537 537
538 #define FOR_EACH_INTRINSIC_PROXY(F) \ 538 #define FOR_EACH_INTRINSIC_PROXY(F) \
539 F(IsJSProxy, 1, 1) \ 539 F(IsJSProxy, 1, 1) \
540 F(JSProxyCall, -1 /* >= 2 */, 1) \ 540 F(JSProxyCall, -1 /* >= 2 */, 1) \
541 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ 541 F(JSProxyConstruct, -1 /* >= 3 */, 1) \
542 F(GetHandler, 1, 1) \ 542 F(JSProxyGetTarget, 1, 1) \
543 F(RevokeProxy, 1, 1) 543 F(JSProxyGetHandler, 1, 1) \
544 F(JSProxyRevoke, 1, 1)
544 545
545 #define FOR_EACH_INTRINSIC_REGEXP(F) \ 546 #define FOR_EACH_INTRINSIC_REGEXP(F) \
546 F(StringReplaceGlobalRegExpWithString, 4, 1) \ 547 F(StringReplaceGlobalRegExpWithString, 4, 1) \
547 F(StringSplit, 3, 1) \ 548 F(StringSplit, 3, 1) \
548 F(RegExpExec, 4, 1) \ 549 F(RegExpExec, 4, 1) \
549 F(RegExpFlags, 1, 1) \ 550 F(RegExpFlags, 1, 1) \
550 F(RegExpSource, 1, 1) \ 551 F(RegExpSource, 1, 1) \
551 F(RegExpConstructResult, 3, 1) \ 552 F(RegExpConstructResult, 3, 1) \
552 F(RegExpInitializeAndCompile, 3, 1) \ 553 F(RegExpInitializeAndCompile, 3, 1) \
553 F(RegExpExecMultiple, 4, 1) \ 554 F(RegExpExecMultiple, 4, 1) \
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 1248
1248 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1249 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1249 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1250 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1250 STATIC_ASSERT(LANGUAGE_END == 3); 1251 STATIC_ASSERT(LANGUAGE_END == 3);
1251 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1252 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1252 1253
1253 } // namespace internal 1254 } // namespace internal
1254 } // namespace v8 1255 } // namespace v8
1255 1256
1256 #endif // V8_RUNTIME_RUNTIME_H_ 1257 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« src/d8.js ('K') | « src/js/v8natives.js ('k') | src/runtime/runtime-proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698