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

Unified Diff: src/arm/stub-cache-arm.cc

Issue 1589035: Revert change 4401. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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 | « no previous file | src/globals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/stub-cache-arm.cc
===================================================================
--- src/arm/stub-cache-arm.cc (revision 4415)
+++ src/arm/stub-cache-arm.cc (working copy)
@@ -1389,36 +1389,6 @@
}
-Object* LoadStubCompiler::CompileLoadNonexistent(JSObject* object) {
- // ----------- S t a t e -------------
- // -- r2 : name
- // -- lr : return address
- // -- [sp] : receiver
- // -----------------------------------
- Label miss;
-
- // Load receiver.
- __ ldr(r0, MemOperand(sp, 0));
-
- // Check the maps of the full prototype chain.
- JSObject* last = object;
- while (last->GetPrototype() != Heap::null_value()) {
- last = JSObject::cast(last->GetPrototype());
- }
- CheckPrototypes(object, r0, last, r3, r1, Heap::empty_string(), &miss);
-
- // Return undefined if maps of the full prototype chain is still the same.
- __ LoadRoot(r0, Heap::kUndefinedValueRootIndex);
- __ Ret();
-
- __ bind(&miss);
- GenerateLoadMiss(masm(), Code::LOAD_IC);
-
- // Return the generated code.
- return GetCode(NONEXISTENT, Heap::empty_string());
-}
-
-
Object* LoadStubCompiler::CompileLoadField(JSObject* object,
JSObject* holder,
int index,
« no previous file with comments | « no previous file | src/globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698