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

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

Issue 1116003005: Remove GetDefaultReceiver, pass in undefined to sloppy-mode functions instead. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make sure it does TO_OBJECT Created 5 years, 7 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
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/runtime/runtime-function.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 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 F(DebugPushPromise, 2, 1) \ 182 F(DebugPushPromise, 2, 1) \
183 F(DebugPopPromise, 0, 1) \ 183 F(DebugPopPromise, 0, 1) \
184 F(DebugPromiseEvent, 1, 1) \ 184 F(DebugPromiseEvent, 1, 1) \
185 F(DebugAsyncTaskEvent, 1, 1) \ 185 F(DebugAsyncTaskEvent, 1, 1) \
186 F(DebugIsActive, 0, 1) \ 186 F(DebugIsActive, 0, 1) \
187 F(DebugBreakInOptimizedCode, 0, 1) 187 F(DebugBreakInOptimizedCode, 0, 1)
188 188
189 189
190 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ 190 #define FOR_EACH_INTRINSIC_FUNCTION(F) \
191 F(IsSloppyModeFunction, 1, 1) \ 191 F(IsSloppyModeFunction, 1, 1) \
192 F(GetDefaultReceiver, 1, 1) \
193 F(FunctionGetName, 1, 1) \ 192 F(FunctionGetName, 1, 1) \
194 F(FunctionSetName, 2, 1) \ 193 F(FunctionSetName, 2, 1) \
195 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 194 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
196 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ 195 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
197 F(FunctionIsArrow, 1, 1) \ 196 F(FunctionIsArrow, 1, 1) \
198 F(FunctionIsConciseMethod, 1, 1) \ 197 F(FunctionIsConciseMethod, 1, 1) \
199 F(FunctionRemovePrototype, 1, 1) \ 198 F(FunctionRemovePrototype, 1, 1) \
200 F(FunctionGetScript, 1, 1) \ 199 F(FunctionGetScript, 1, 1) \
201 F(FunctionGetSourceCode, 1, 1) \ 200 F(FunctionGetSourceCode, 1, 1) \
202 F(FunctionGetScriptSourcePosition, 1, 1) \ 201 F(FunctionGetScriptSourcePosition, 1, 1) \
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 863
865 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 864 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 865 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
867 STATIC_ASSERT(LANGUAGE_END == 3); 866 STATIC_ASSERT(LANGUAGE_END == 3);
868 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 867 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
869 868
870 } // namespace internal 869 } // namespace internal
871 } // namespace v8 870 } // namespace v8
872 871
873 #endif // V8_RUNTIME_RUNTIME_H_ 872 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/runtime/runtime-function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698