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

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

Issue 9178017: Allow call-known-global to be used for call-sites with mismatched number of arguments. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Relax call-constant-function restrictions as well Created 8 years, 11 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/lithium-codegen-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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 // current context to the context in the function before invoking. 532 // current context to the context in the function before invoking.
533 void InvokeFunction(Register function, 533 void InvokeFunction(Register function,
534 const ParameterCount& actual, 534 const ParameterCount& actual,
535 InvokeFlag flag, 535 InvokeFlag flag,
536 const CallWrapper& call_wrapper, 536 const CallWrapper& call_wrapper,
537 CallKind call_kind); 537 CallKind call_kind);
538 538
539 void InvokeFunction(Handle<JSFunction> function, 539 void InvokeFunction(Handle<JSFunction> function,
540 const ParameterCount& actual, 540 const ParameterCount& actual,
541 InvokeFlag flag, 541 InvokeFlag flag,
542 const CallWrapper& call_wrapper,
542 CallKind call_kind); 543 CallKind call_kind);
543 544
544 void IsObjectJSObjectType(Register heap_object, 545 void IsObjectJSObjectType(Register heap_object,
545 Register map, 546 Register map,
546 Register scratch, 547 Register scratch,
547 Label* fail); 548 Label* fail);
548 549
549 void IsInstanceJSObjectType(Register map, 550 void IsInstanceJSObjectType(Register map,
550 Register scratch, 551 Register scratch,
551 Label* fail); 552 Label* fail);
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 int num_double_arguments); 1242 int num_double_arguments);
1242 1243
1243 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1244 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
1244 1245
1245 // Helper functions for generating invokes. 1246 // Helper functions for generating invokes.
1246 void InvokePrologue(const ParameterCount& expected, 1247 void InvokePrologue(const ParameterCount& expected,
1247 const ParameterCount& actual, 1248 const ParameterCount& actual,
1248 Handle<Code> code_constant, 1249 Handle<Code> code_constant,
1249 Register code_reg, 1250 Register code_reg,
1250 Label* done, 1251 Label* done,
1252 bool* definitely_mismatches,
1251 InvokeFlag flag, 1253 InvokeFlag flag,
1252 const CallWrapper& call_wrapper, 1254 const CallWrapper& call_wrapper,
1253 CallKind call_kind); 1255 CallKind call_kind);
1254 1256
1255 void InitializeNewString(Register string, 1257 void InitializeNewString(Register string,
1256 Register length, 1258 Register length,
1257 Heap::RootListIndex map_index, 1259 Heap::RootListIndex map_index,
1258 Register scratch1, 1260 Register scratch1,
1259 Register scratch2); 1261 Register scratch2);
1260 1262
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1346 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1345 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1347 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1346 #else 1348 #else
1347 #define ACCESS_MASM(masm) masm-> 1349 #define ACCESS_MASM(masm) masm->
1348 #endif 1350 #endif
1349 1351
1350 1352
1351 } } // namespace v8::internal 1353 } } // namespace v8::internal
1352 1354
1353 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1355 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698