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

Side by Side Diff: src/hydrogen.cc

Issue 7741042: Make (some) functions called from builtin functions use the callback's global as receiver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 6204 matching lines...) Expand 10 before | Expand all | Expand 10 after
6215 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value); 6215 HGetCachedArrayIndex* result = new(zone()) HGetCachedArrayIndex(value);
6216 return ast_context()->ReturnInstruction(result, call->id()); 6216 return ast_context()->ReturnInstruction(result, call->id());
6217 } 6217 }
6218 6218
6219 6219
6220 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) { 6220 void HGraphBuilder::GenerateFastAsciiArrayJoin(CallRuntime* call) {
6221 return Bailout("inlined runtime function: FastAsciiArrayJoin"); 6221 return Bailout("inlined runtime function: FastAsciiArrayJoin");
6222 } 6222 }
6223 6223
6224 6224
6225 void HGraphBuilder::GenerateIsNativeOrStrictMode(CallRuntime* call) {
6226 return Bailout("inlined runtime function: IsNativeOrStrictMode");
6227 }
6228
6229
6230 #undef CHECK_BAILOUT 6225 #undef CHECK_BAILOUT
6231 #undef CHECK_ALIVE 6226 #undef CHECK_ALIVE
6232 6227
6233 6228
6234 HEnvironment::HEnvironment(HEnvironment* outer, 6229 HEnvironment::HEnvironment(HEnvironment* outer,
6235 Scope* scope, 6230 Scope* scope,
6236 Handle<JSFunction> closure) 6231 Handle<JSFunction> closure)
6237 : closure_(closure), 6232 : closure_(closure),
6238 values_(0), 6233 values_(0),
6239 assigned_variables_(4), 6234 assigned_variables_(4),
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
6751 } 6746 }
6752 } 6747 }
6753 6748
6754 #ifdef DEBUG 6749 #ifdef DEBUG
6755 if (graph_ != NULL) graph_->Verify(); 6750 if (graph_ != NULL) graph_->Verify();
6756 if (allocator_ != NULL) allocator_->Verify(); 6751 if (allocator_ != NULL) allocator_->Verify();
6757 #endif 6752 #endif
6758 } 6753 }
6759 6754
6760 } } // namespace v8::internal 6755 } } // 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