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

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: Port to ARM and x64. 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
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 6043 matching lines...) Expand 10 before | Expand all | Expand 10 after
6054 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); 6054 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value);
6055 ast_context()->ReturnInstruction(result, call->id()); 6055 ast_context()->ReturnInstruction(result, call->id());
6056 } 6056 }
6057 6057
6058 6058
6059 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { 6059 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {
6060 return Bailout("inlined runtime function: FastAsciiArrayJoin"); 6060 return Bailout("inlined runtime function: FastAsciiArrayJoin");
6061 } 6061 }
6062 6062
6063 6063
6064 void HGraphBuilder::GenerateIsNativeOrStrictMode(CallRuntime* call) {
6065 return Bailout("inlined runtime function: IsNativeOrStrictMode");
6066 }
6067
6068
6064 #undef CHECK_BAILOUT 6069 #undef CHECK_BAILOUT
6065 #undef CHECK_ALIVE 6070 #undef CHECK_ALIVE
6066 6071
6067 6072
6068 HEnvironment::HEnvironment(HEnvironment* outer, 6073 HEnvironment::HEnvironment(HEnvironment* outer,
6069 Scope* scope, 6074 Scope* scope,
6070 Handle<JSFunction> closure) 6075 Handle<JSFunction> closure)
6071 : closure_(closure), 6076 : closure_(closure),
6072 values_(0), 6077 values_(0),
6073 assigned_variables_(4), 6078 assigned_variables_(4),
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
6585 } 6590 }
6586 } 6591 }
6587 6592
6588 #ifdef DEBUG 6593 #ifdef DEBUG
6589 if (graph_ != NULL) graph_->Verify(); 6594 if (graph_ != NULL) graph_->Verify();
6590 if (allocator_ != NULL) allocator_->Verify(); 6595 if (allocator_ != NULL) allocator_->Verify();
6591 #endif 6596 #endif
6592 } 6597 }
6593 6598
6594 } } // namespace v8::internal 6599 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/array.js ('k') | src/ia32/full-codegen-ia32.cc » ('j') | src/ia32/full-codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698