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

Side by Side Diff: src/runtime.h

Issue 8343054: Make eval consider anything on the form eval(args...) a potential direct cal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments. Created 9 years, 1 month 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/parser.cc ('k') | src/runtime.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 \ 251 \
252 /* Numbers */ \ 252 /* Numbers */ \
253 \ 253 \
254 /* Globals */ \ 254 /* Globals */ \
255 F(CompileString, 1, 1) \ 255 F(CompileString, 1, 1) \
256 F(GlobalPrint, 1, 1) \ 256 F(GlobalPrint, 1, 1) \
257 \ 257 \
258 /* Eval */ \ 258 /* Eval */ \
259 F(GlobalReceiver, 1, 1) \ 259 F(GlobalReceiver, 1, 1) \
260 F(ResolvePossiblyDirectEval, 4, 2) \ 260 F(ResolvePossiblyDirectEval, 4, 2) \
261 F(ResolvePossiblyDirectEvalNoLookup, 4, 2) \
262 \ 261 \
263 F(SetProperty, -1 /* 4 or 5 */, 1) \ 262 F(SetProperty, -1 /* 4 or 5 */, 1) \
264 F(DefineOrRedefineDataProperty, 4, 1) \ 263 F(DefineOrRedefineDataProperty, 4, 1) \
265 F(DefineOrRedefineAccessorProperty, 5, 1) \ 264 F(DefineOrRedefineAccessorProperty, 5, 1) \
266 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \ 265 F(IgnoreAttributesAndSetProperty, -1 /* 3 or 4 */, 1) \
267 \ 266 \
268 /* Arrays */ \ 267 /* Arrays */ \
269 F(RemoveArrayHoles, 2, 1) \ 268 F(RemoveArrayHoles, 2, 1) \
270 F(GetArrayKeys, 2, 1) \ 269 F(GetArrayKeys, 2, 1) \
271 F(MoveArrayContents, 2, 1) \ 270 F(MoveArrayContents, 2, 1) \
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 //--------------------------------------------------------------------------- 686 //---------------------------------------------------------------------------
688 // Constants used by interface to runtime functions. 687 // Constants used by interface to runtime functions.
689 688
690 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 689 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
691 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {}; 690 class DeclareGlobalsStrictModeFlag: public BitField<StrictModeFlag, 1, 1> {};
692 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {}; 691 class DeclareGlobalsNativeFlag: public BitField<bool, 2, 1> {};
693 692
694 } } // namespace v8::internal 693 } } // namespace v8::internal
695 694
696 #endif // V8_RUNTIME_H_ 695 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698