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

Side by Side Diff: src/builtins.cc

Issue 2237983004: Merged: Squashed multiple commits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.3
Patch Set: Created 4 years, 4 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/builtins.h ('k') | src/ic/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/builtins.h" 5 #include "src/builtins.h"
6 6
7 #include "src/api-arguments.h" 7 #include "src/api-arguments.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/api.h" 9 #include "src/api.h"
10 #include "src/base/ieee754.h" 10 #include "src/base/ieee754.h"
(...skipping 5594 matching lines...) Expand 10 before | Expand all | Expand 10 after
5605 5605
5606 Node* receiver = assembler->Parameter(0); 5606 Node* receiver = assembler->Parameter(0);
5607 Node* name = assembler->Parameter(1); 5607 Node* name = assembler->Parameter(1);
5608 // Node* slot = assembler->Parameter(2); 5608 // Node* slot = assembler->Parameter(2);
5609 // Node* vector = assembler->Parameter(3); 5609 // Node* vector = assembler->Parameter(3);
5610 Node* context = assembler->Parameter(4); 5610 Node* context = assembler->Parameter(4);
5611 5611
5612 assembler->TailCallRuntime(Runtime::kGetProperty, context, receiver, name); 5612 assembler->TailCallRuntime(Runtime::kGetProperty, context, receiver, name);
5613 } 5613 }
5614 5614
5615 void Generate_LoadGlobalIC_SlowInsideTypeof(CodeStubAssembler* assembler) { 5615 void Generate_LoadGlobalIC_Slow(CodeStubAssembler* assembler) {
5616 typedef compiler::Node Node; 5616 typedef compiler::Node Node;
5617 5617
5618 Node* slot = assembler->Parameter(0); 5618 Node* slot = assembler->Parameter(0);
5619 Node* vector = assembler->Parameter(1); 5619 Node* vector = assembler->Parameter(1);
5620 Node* context = assembler->Parameter(2); 5620 Node* context = assembler->Parameter(2);
5621 5621
5622 assembler->TailCallRuntime(Runtime::kGetGlobalInsideTypeof, context, slot, 5622 assembler->TailCallRuntime(Runtime::kLoadGlobalIC_Slow, context, slot,
5623 vector); 5623 vector);
5624 } 5624 }
5625 5625
5626 void Generate_LoadGlobalIC_SlowNotInsideTypeof(CodeStubAssembler* assembler) {
5627 typedef compiler::Node Node;
5628
5629 Node* slot = assembler->Parameter(0);
5630 Node* vector = assembler->Parameter(1);
5631 Node* context = assembler->Parameter(2);
5632
5633 assembler->TailCallRuntime(Runtime::kGetGlobalNotInsideTypeof, context, slot,
5634 vector);
5635 }
5636
5637 void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 5626 void Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
5638 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 5627 KeyedLoadIC::GenerateRuntimeGetProperty(masm);
5639 } 5628 }
5640 5629
5641 void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 5630 void Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
5642 KeyedLoadIC::GenerateMiss(masm); 5631 KeyedLoadIC::GenerateMiss(masm);
5643 } 5632 }
5644 5633
5645 void Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) { 5634 void Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) {
5646 KeyedLoadIC::GenerateMegamorphic(masm); 5635 KeyedLoadIC::GenerateMegamorphic(masm);
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
6236 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H) 6225 BUILTIN_LIST_H(DEFINE_BUILTIN_ACCESSOR_H)
6237 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A) 6226 BUILTIN_LIST_DEBUG_A(DEFINE_BUILTIN_ACCESSOR_A)
6238 #undef DEFINE_BUILTIN_ACCESSOR_C 6227 #undef DEFINE_BUILTIN_ACCESSOR_C
6239 #undef DEFINE_BUILTIN_ACCESSOR_A 6228 #undef DEFINE_BUILTIN_ACCESSOR_A
6240 #undef DEFINE_BUILTIN_ACCESSOR_T 6229 #undef DEFINE_BUILTIN_ACCESSOR_T
6241 #undef DEFINE_BUILTIN_ACCESSOR_S 6230 #undef DEFINE_BUILTIN_ACCESSOR_S
6242 #undef DEFINE_BUILTIN_ACCESSOR_H 6231 #undef DEFINE_BUILTIN_ACCESSOR_H
6243 6232
6244 } // namespace internal 6233 } // namespace internal
6245 } // namespace v8 6234 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins.h ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698