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

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

Issue 118500: Get rid of the notion of "parameter pointer" that no longer exists in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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/frames-arm.h ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 17 matching lines...) Expand all
28 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ 28 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
29 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ 29 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_
30 30
31 #include "assembler.h" 31 #include "assembler.h"
32 32
33 namespace v8 { 33 namespace v8 {
34 namespace internal { 34 namespace internal {
35 35
36 36
37 // Give alias names to registers 37 // Give alias names to registers
38 extern Register cp; // JavaScript context pointer 38 const Register cp = { 8 }; // JavaScript context pointer
39 extern Register pp; // parameter pointer
40 39
41 40
42 // Helper types to make boolean flag easier to read at call-site. 41 // Helper types to make boolean flag easier to read at call-site.
43 enum InvokeFlag { 42 enum InvokeFlag {
44 CALL_FUNCTION, 43 CALL_FUNCTION,
45 JUMP_FUNCTION 44 JUMP_FUNCTION
46 }; 45 };
47 46
48 enum InvokeJSFlags { 47 enum InvokeJSFlags {
49 CALL_JS, 48 CALL_JS,
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 336 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
338 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 337 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
339 #else 338 #else
340 #define ACCESS_MASM(masm) masm-> 339 #define ACCESS_MASM(masm) masm->
341 #endif 340 #endif
342 341
343 342
344 } } // namespace v8::internal 343 } } // namespace v8::internal
345 344
346 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 345 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/frames-arm.h ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698