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

Unified Diff: src/objects-inl.h

Issue 7071009: Revert "Pass undefined to JS builtins when called with implicit receiver." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 22af01e8bc3f4366b8d74adc617ed018012aacbc..c8fcd02c5d04bcdc4c4d3806f717b85fa22f8906 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -3309,14 +3309,14 @@ void SharedFunctionInfo::set_strict_mode(bool value) {
}
-bool SharedFunctionInfo::native() {
- return BooleanBit::get(compiler_hints(), kNative);
+bool SharedFunctionInfo::es5_native() {
+ return BooleanBit::get(compiler_hints(), kES5Native);
}
-void SharedFunctionInfo::set_native(bool value) {
+void SharedFunctionInfo::set_es5_native(bool value) {
set_compiler_hints(BooleanBit::set(compiler_hints(),
- kNative,
+ kES5Native,
value));
}
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698