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

Side by Side Diff: src/runtime.h

Issue 7283006: Do not pass the global object as the receiver to strict-mode and (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update sputnik status. Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/string.js » ('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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 F(IsSpecObject, 1, 1) \ 463 F(IsSpecObject, 1, 1) \
464 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ 464 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
465 F(MathPow, 2, 1) \ 465 F(MathPow, 2, 1) \
466 F(MathSin, 1, 1) \ 466 F(MathSin, 1, 1) \
467 F(MathCos, 1, 1) \ 467 F(MathCos, 1, 1) \
468 F(MathSqrt, 1, 1) \ 468 F(MathSqrt, 1, 1) \
469 F(MathLog, 1, 1) \ 469 F(MathLog, 1, 1) \
470 F(IsRegExpEquivalent, 2, 1) \ 470 F(IsRegExpEquivalent, 2, 1) \
471 F(HasCachedArrayIndex, 1, 1) \ 471 F(HasCachedArrayIndex, 1, 1) \
472 F(GetCachedArrayIndex, 1, 1) \ 472 F(GetCachedArrayIndex, 1, 1) \
473 F(FastAsciiArrayJoin, 2, 1) 473 F(FastAsciiArrayJoin, 2, 1) \
474 F(IsNativeOrStrictMode, 1, 1)
474 475
475 476
476 // ---------------------------------------------------------------------------- 477 // ----------------------------------------------------------------------------
477 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed 478 // INLINE_AND_RUNTIME_FUNCTION_LIST defines all inlined functions accessed
478 // with a native call of the form %_name from within JS code that also have 479 // with a native call of the form %_name from within JS code that also have
479 // a corresponding runtime function, that is called for slow cases. 480 // a corresponding runtime function, that is called for slow cases.
480 // Entries have the form F(name, number of arguments, number of return values). 481 // Entries have the form F(name, number of arguments, number of return values).
481 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 482 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
482 F(IsConstructCall, 0, 1) \ 483 F(IsConstructCall, 0, 1) \
483 F(ClassOf, 1, 1) \ 484 F(ClassOf, 1, 1) \
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 Handle<Script> script, 639 Handle<Script> script,
639 int position); 640 int position);
640 641
641 // Helper functions used stubs. 642 // Helper functions used stubs.
642 static void PerformGC(Object* result); 643 static void PerformGC(Object* result);
643 }; 644 };
644 645
645 } } // namespace v8::internal 646 } } // namespace v8::internal
646 647
647 #endif // V8_RUNTIME_H_ 648 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/string.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698