Commit 10980eb5 authored by bmeurer's avatar bmeurer Committed by Commit bot

[cleanup] Drop some dead code from Crankshaft.

This code was confusing, as it wasn't immediately obvious that this is
dead and doesn't need to updated anymore.

R=yangguo@chromium.org

Review-Url: https://codereview.chromium.org/2844993002
Cr-Commit-Position: refs/heads/master@{#44911}
parent 255518fa
This diff is collapsed.
......@@ -1379,20 +1379,10 @@ class HGraphBuilder {
ElementsKind kind,
HValue* length);
void BuildTransitionElementsKind(HValue* object,
HValue* map,
ElementsKind from_kind,
ElementsKind to_kind,
bool is_jsarray);
HValue* BuildNumberToString(HValue* object, AstType* type);
HValue* BuildToNumber(HValue* input);
HValue* BuildToObject(HValue* receiver);
HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver,
HValue* elements, HValue* key,
HValue* hash);
// ES6 section 7.4.7 CreateIterResultObject ( value, done )
HValue* BuildCreateIterResultObject(HValue* value, HValue* done);
......@@ -1475,8 +1465,6 @@ class HGraphBuilder {
ElementsKind kind,
HValue *dependency = NULL);
HValue* AddLoadJSBuiltin(int context_index);
HValue* EnforceNumberType(HValue* number, AstType* expected);
HValue* TruncateToNumber(HValue* value, AstType** expected);
......@@ -1797,8 +1785,6 @@ class HGraphBuilder {
HValue* length,
HValue* capacity);
HValue* BuildElementIndexHash(HValue* index);
void BuildCreateAllocationMemento(HValue* previous_object,
HValue* previous_object_size,
HValue* payload);
......@@ -1809,14 +1795,8 @@ class HGraphBuilder {
Handle<JSObject> holder,
bool ensure_no_elements = false);
HInstruction* BuildGetNativeContext(HValue* closure);
HInstruction* BuildGetNativeContext();
// Builds a loop version if |depth| is specified or unrolls the loop to
// |depth_value| iterations otherwise.
HValue* BuildGetParentContext(HValue* depth, int depth_value);
HInstruction* BuildGetArrayFunction();
HValue* BuildArrayBufferViewFieldAccessor(HValue* object,
HValue* checked_object,
FieldIndex index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment