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

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 184383003: The Array function must be looked up in the native context. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove the misleading LoadGlobalContext on ia32 Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // map_in_out is the cached Array map in the native context of 564 // map_in_out is the cached Array map in the native context of
565 // expected_kind. 565 // expected_kind.
566 void LoadTransitionedArrayMapConditional( 566 void LoadTransitionedArrayMapConditional(
567 ElementsKind expected_kind, 567 ElementsKind expected_kind,
568 ElementsKind transitioned_kind, 568 ElementsKind transitioned_kind,
569 Register map_in_out, 569 Register map_in_out,
570 Register scratch, 570 Register scratch,
571 Label* no_map_match); 571 Label* no_map_match);
572 572
573 void LoadGlobalFunction(int index, Register function); 573 void LoadGlobalFunction(int index, Register function);
574 void LoadArrayFunction(Register function);
575 574
576 // Load the initial map from the global function. The registers 575 // Load the initial map from the global function. The registers
577 // function and map can be the same, function is then overwritten. 576 // function and map can be the same, function is then overwritten.
578 void LoadGlobalFunctionInitialMap(Register function, 577 void LoadGlobalFunctionInitialMap(Register function,
579 Register map, 578 Register map,
580 Register scratch); 579 Register scratch);
581 580
582 void InitializeRootRegister() { 581 void InitializeRootRegister() {
583 ExternalReference roots_array_start = 582 ExternalReference roots_array_start =
584 ExternalReference::roots_array_start(isolate()); 583 ExternalReference::roots_array_start(isolate());
(...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1528 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1530 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1529 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1531 #else 1530 #else
1532 #define ACCESS_MASM(masm) masm-> 1531 #define ACCESS_MASM(masm) masm->
1533 #endif 1532 #endif
1534 1533
1535 1534
1536 } } // namespace v8::internal 1535 } } // namespace v8::internal
1537 1536
1538 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1537 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698