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

Side by Side Diff: src/stub-cache.h

Issue 23702039: Use regular map-checks to guard string-length loading. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/mips/stub-cache-mips.cc ('k') | src/x64/code-stubs-x64.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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 565
566 static void GenerateLoadArrayLength(MacroAssembler* masm, 566 static void GenerateLoadArrayLength(MacroAssembler* masm,
567 Register receiver, 567 Register receiver,
568 Register scratch, 568 Register scratch,
569 Label* miss_label); 569 Label* miss_label);
570 570
571 static void GenerateLoadStringLength(MacroAssembler* masm, 571 static void GenerateLoadStringLength(MacroAssembler* masm,
572 Register receiver, 572 Register receiver,
573 Register scratch1, 573 Register scratch1,
574 Register scratch2, 574 Register scratch2,
575 Label* miss_label, 575 Label* miss_label);
576 bool support_wrappers);
577 576
578 static void GenerateLoadFunctionPrototype(MacroAssembler* masm, 577 static void GenerateLoadFunctionPrototype(MacroAssembler* masm,
579 Register receiver, 578 Register receiver,
580 Register scratch1, 579 Register scratch1,
581 Register scratch2, 580 Register scratch2,
582 Label* miss_label); 581 Label* miss_label);
583 582
584 static void TailCallBuiltin(MacroAssembler* masm, Builtins::Name name); 583 static void TailCallBuiltin(MacroAssembler* masm, Builtins::Name name);
585 584
586 // Generates code that verifies that the property holder has not changed 585 // Generates code that verifies that the property holder has not changed
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 Handle<JSFunction> constant_function_; 1210 Handle<JSFunction> constant_function_;
1212 bool is_simple_api_call_; 1211 bool is_simple_api_call_;
1213 Handle<FunctionTemplateInfo> expected_receiver_type_; 1212 Handle<FunctionTemplateInfo> expected_receiver_type_;
1214 Handle<CallHandlerInfo> api_call_info_; 1213 Handle<CallHandlerInfo> api_call_info_;
1215 }; 1214 };
1216 1215
1217 1216
1218 } } // namespace v8::internal 1217 } } // namespace v8::internal
1219 1218
1220 #endif // V8_STUB_CACHE_H_ 1219 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/mips/stub-cache-mips.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698