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

Unified Diff: src/code-stubs-hydrogen.cc

Issue 21014004: Add equality type parameter to HCompareObjectAndBranch (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs-hydrogen.cc
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
index 651ce0a0e8902767550da76a0bd97de5e3c8000f..817d8f25d9a7bffa484df9e6434b3a06c094b8fc 100644
--- a/src/code-stubs-hydrogen.cc
+++ b/src/code-stubs-hydrogen.cc
@@ -86,8 +86,8 @@ class CodeStubGraphBuilderBase : public HGraphBuilder {
ArrayContextChecker(HGraphBuilder* builder, HValue* constructor,
HValue* array_function)
: checker_(builder) {
- checker_.If<HCompareObjectEqAndBranch, HValue*>(constructor,
- array_function);
+ checker_.If<HCompareObjectAndBranch, HValue*>(constructor,
+ array_function);
checker_.Then();
}
@@ -236,7 +236,7 @@ class CodeStubGraphBuilder: public CodeStubGraphBuilderBase {
// Force a deopt that falls back to the runtime.
HValue* undefined = graph()->GetConstantUndefined();
IfBuilder builder(this);
- builder.IfNot<HCompareObjectEqAndBranch, HValue*>(undefined, undefined);
+ builder.IfNot<HCompareObjectAndBranch, HValue*>(undefined, undefined);
builder.Then();
builder.ElseDeopt();
return undefined;
@@ -352,7 +352,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowArrayStub>::BuildCodeStub() {
NULL,
FAST_ELEMENTS));
IfBuilder checker(this);
- checker.IfNot<HCompareObjectEqAndBranch, HValue*>(allocation_site, undefined);
+ checker.IfNot<HCompareObjectAndBranch, HValue*>(allocation_site, undefined);
checker.Then();
HObjectAccess access = HObjectAccess::ForAllocationSiteTransitionInfo();
@@ -421,7 +421,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowObjectStub>::BuildCodeStub() {
FAST_ELEMENTS));
IfBuilder checker(this);
- checker.IfNot<HCompareObjectEqAndBranch, HValue*>(boilerplate, undefined);
+ checker.IfNot<HCompareObjectAndBranch, HValue*>(boilerplate, undefined);
checker.And();
int size = JSObject::kHeaderSize + casted_stub()->length() * kPointerSize;
@@ -897,7 +897,7 @@ HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() {
if (stub->is_constant()) {
IfBuilder builder(this);
- builder.If<HCompareObjectEqAndBranch>(cell_contents, value);
+ builder.If<HCompareObjectAndBranch>(cell_contents, value);
builder.Then();
builder.ElseDeopt();
builder.End();
@@ -907,7 +907,7 @@ HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() {
// runtime.
IfBuilder builder(this);
HValue* hole_value = Add<HConstant>(hole, Representation::Tagged());
- builder.If<HCompareObjectEqAndBranch>(cell_contents, hole_value);
+ builder.If<HCompareObjectAndBranch>(cell_contents, hole_value);
builder.Then();
builder.Deopt();
builder.Else();
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698