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

Side by Side Diff: src/hydrogen.cc

Issue 6995046: Support %_IsUndetectableObject in crankshaft. (Closed)
Patch Set: Review fixes 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 unified diff | Download patch
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.h » ('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 5268 matching lines...) Expand 10 before | Expand all | Expand 10 after
5279 ast_context()->ReturnInstruction(test, call->id()); 5279 ast_context()->ReturnInstruction(test, call->id());
5280 } 5280 }
5281 5281
5282 5282
5283 void HGraphBuilder::GenerateIsNonNegativeSmi(CallRuntime* call) { 5283 void HGraphBuilder::GenerateIsNonNegativeSmi(CallRuntime* call) {
5284 return Bailout("inlined runtime function: IsNonNegativeSmi"); 5284 return Bailout("inlined runtime function: IsNonNegativeSmi");
5285 } 5285 }
5286 5286
5287 5287
5288 void HGraphBuilder::GenerateIsUndetectableObject(CallRuntime* call) { 5288 void HGraphBuilder::GenerateIsUndetectableObject(CallRuntime* call) {
5289 return Bailout("inlined runtime function: IsUndetectableObject"); 5289 ASSERT(call->arguments()->length() == 1);
5290 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
5291 HValue* value = Pop();
5292 ast_context()->ReturnInstruction(new(zone()) HIsUndetectable(value),
5293 call->id());
5290 } 5294 }
5291 5295
5292 5296
5293 void HGraphBuilder::GenerateIsStringWrapperSafeForDefaultValueOf( 5297 void HGraphBuilder::GenerateIsStringWrapperSafeForDefaultValueOf(
5294 CallRuntime* call) { 5298 CallRuntime* call) {
5295 return Bailout( 5299 return Bailout(
5296 "inlined runtime function: IsStringWrapperSafeForDefaultValueOf"); 5300 "inlined runtime function: IsStringWrapperSafeForDefaultValueOf");
5297 } 5301 }
5298 5302
5299 5303
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
6117 } 6121 }
6118 } 6122 }
6119 6123
6120 #ifdef DEBUG 6124 #ifdef DEBUG
6121 if (graph_ != NULL) graph_->Verify(); 6125 if (graph_ != NULL) graph_->Verify();
6122 if (allocator_ != NULL) allocator_->Verify(); 6126 if (allocator_ != NULL) allocator_->Verify();
6123 #endif 6127 #endif
6124 } 6128 }
6125 6129
6126 } } // namespace v8::internal 6130 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen-instructions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698