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

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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tweaks Created 5 years, 6 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/zone.h" 10 #include "src/zone.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 F(CallSiteGetMethodNameRT, 3, 1) \ 295 F(CallSiteGetMethodNameRT, 3, 1) \
296 F(CallSiteGetLineNumberRT, 3, 1) \ 296 F(CallSiteGetLineNumberRT, 3, 1) \
297 F(CallSiteGetColumnNumberRT, 3, 1) \ 297 F(CallSiteGetColumnNumberRT, 3, 1) \
298 F(CallSiteIsNativeRT, 3, 1) \ 298 F(CallSiteIsNativeRT, 3, 1) \
299 F(CallSiteIsToplevelRT, 3, 1) \ 299 F(CallSiteIsToplevelRT, 3, 1) \
300 F(CallSiteIsEvalRT, 3, 1) \ 300 F(CallSiteIsEvalRT, 3, 1) \
301 F(CallSiteIsConstructorRT, 3, 1) \ 301 F(CallSiteIsConstructorRT, 3, 1) \
302 F(IS_VAR, 1, 1) \ 302 F(IS_VAR, 1, 1) \
303 F(GetFromCache, 2, 1) \ 303 F(GetFromCache, 2, 1) \
304 F(IncrementStatsCounter, 1, 1) \ 304 F(IncrementStatsCounter, 1, 1) \
305 F(GetCallerJSFunction, 0, 1) \
Michael Starzinger 2015/06/05 11:21:56 nit: Can we preserve same order as in the .cc-file
danno 2015/06/05 11:49:59 Done.
305 F(Likely, 1, 1) \ 306 F(Likely, 1, 1) \
306 F(Unlikely, 1, 1) \ 307 F(Unlikely, 1, 1) \
307 F(HarmonyToString, 0, 1) \ 308 F(HarmonyToString, 0, 1) \
308 F(GetTypeFeedbackVector, 1, 1) 309 F(GetTypeFeedbackVector, 1, 1)
309 310
310 311
311 #define FOR_EACH_INTRINSIC_JSON(F) \ 312 #define FOR_EACH_INTRINSIC_JSON(F) \
312 F(QuoteJSONString, 1, 1) \ 313 F(QuoteJSONString, 1, 1) \
313 F(BasicJSONStringify, 1, 1) \ 314 F(BasicJSONStringify, 1, 1) \
314 F(ParseJson, 1, 1) 315 F(ParseJson, 1, 1)
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 873
873 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 874 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
874 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 875 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
875 STATIC_ASSERT(LANGUAGE_END == 3); 876 STATIC_ASSERT(LANGUAGE_END == 3);
876 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 877 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
877 878
878 } // namespace internal 879 } // namespace internal
879 } // namespace v8 880 } // namespace v8
880 881
881 #endif // V8_RUNTIME_RUNTIME_H_ 882 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698