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

Side by Side Diff: src/crankshaft/arm64/lithium-codegen-arm64.cc

Issue 1496503002: [runtime] [proxy] removing JSFunctionProxy and related code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixing merge artifacts Created 5 years 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/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/hydrogen.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 5 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 2808 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 2819
2820 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) { 2820 void LCodeGen::DoForInPrepareMap(LForInPrepareMap* instr) {
2821 Register object = ToRegister(instr->object()); 2821 Register object = ToRegister(instr->object());
2822 Register null_value = x5; 2822 Register null_value = x5;
2823 2823
2824 DCHECK(instr->IsMarkedAsCall()); 2824 DCHECK(instr->IsMarkedAsCall());
2825 DCHECK(object.Is(x0)); 2825 DCHECK(object.Is(x0));
2826 2826
2827 DeoptimizeIfSmi(object, instr, Deoptimizer::kSmi); 2827 DeoptimizeIfSmi(object, instr, Deoptimizer::kSmi);
2828 2828
2829 STATIC_ASSERT(FIRST_JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE); 2829 STATIC_ASSERT(JS_PROXY_TYPE == FIRST_JS_RECEIVER_TYPE);
2830 __ CompareObjectType(object, x1, x1, LAST_JS_PROXY_TYPE); 2830 __ CompareObjectType(object, x1, x1, JS_PROXY_TYPE);
2831 DeoptimizeIf(le, instr, Deoptimizer::kNotAJavaScriptObject); 2831 DeoptimizeIf(le, instr, Deoptimizer::kNotAJavaScriptObject);
2832 2832
2833 Label use_cache, call_runtime; 2833 Label use_cache, call_runtime;
2834 __ LoadRoot(null_value, Heap::kNullValueRootIndex); 2834 __ LoadRoot(null_value, Heap::kNullValueRootIndex);
2835 __ CheckEnumCache(object, null_value, x1, x2, x3, x4, &call_runtime); 2835 __ CheckEnumCache(object, null_value, x1, x2, x3, x4, &call_runtime);
2836 2836
2837 __ Ldr(object, FieldMemOperand(object, HeapObject::kMapOffset)); 2837 __ Ldr(object, FieldMemOperand(object, HeapObject::kMapOffset));
2838 __ B(&use_cache); 2838 __ B(&use_cache);
2839 2839
2840 // Get the set of properties to enumerate. 2840 // Get the set of properties to enumerate.
(...skipping 3034 matching lines...) Expand 10 before | Expand all | Expand 10 after
5875 Handle<ScopeInfo> scope_info = instr->scope_info(); 5875 Handle<ScopeInfo> scope_info = instr->scope_info();
5876 __ Push(scope_info); 5876 __ Push(scope_info);
5877 __ Push(ToRegister(instr->function())); 5877 __ Push(ToRegister(instr->function()));
5878 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5878 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5879 RecordSafepoint(Safepoint::kNoLazyDeopt); 5879 RecordSafepoint(Safepoint::kNoLazyDeopt);
5880 } 5880 }
5881 5881
5882 5882
5883 } // namespace internal 5883 } // namespace internal
5884 } // namespace v8 5884 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm/lithium-codegen-arm.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698