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

Side by Side Diff: src/hydrogen.cc

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/array.js ('k') | src/ia32/full-codegen-ia32.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 6050 matching lines...) Expand 10 before | Expand all | Expand 10 after
6061 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); 6061 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value);
6062 ast_context()->ReturnInstruction(result, call->id()); 6062 ast_context()->ReturnInstruction(result, call->id());
6063 } 6063 }
6064 6064
6065 6065
6066 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { 6066 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {
6067 return Bailout("inlined runtime function: FastAsciiArrayJoin"); 6067 return Bailout("inlined runtime function: FastAsciiArrayJoin");
6068 } 6068 }
6069 6069
6070 6070
6071 void HGraphBuilder::GenerateIsNativeOrStrictMode(CallRuntime* call) {
6072 return Bailout("inlined runtime function: IsNativeOrStrictMode");
6073 }
6074
6075
6071 #undef CHECK_BAILOUT 6076 #undef CHECK_BAILOUT
6072 #undef CHECK_ALIVE 6077 #undef CHECK_ALIVE
6073 6078
6074 6079
6075 HEnvironment::HEnvironment(HEnvironment* outer, 6080 HEnvironment::HEnvironment(HEnvironment* outer,
6076 Scope* scope, 6081 Scope* scope,
6077 Handle<JSFunction> closure) 6082 Handle<JSFunction> closure)
6078 : closure_(closure), 6083 : closure_(closure),
6079 values_(0), 6084 values_(0),
6080 assigned_variables_(4), 6085 assigned_variables_(4),
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
6592 } 6597 }
6593 } 6598 }
6594 6599
6595 #ifdef DEBUG 6600 #ifdef DEBUG
6596 if (graph_ != NULL) graph_->Verify(); 6601 if (graph_ != NULL) graph_->Verify();
6597 if (allocator_ != NULL) allocator_->Verify(); 6602 if (allocator_ != NULL) allocator_->Verify();
6598 #endif 6603 #endif
6599 } 6604 }
6600 6605
6601 } } // namespace v8::internal 6606 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698