OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 26 matching lines...) Expand all Loading... |
37 #include "parser.h" | 37 #include "parser.h" |
38 #include "scopes.h" | 38 #include "scopes.h" |
39 #include "stub-cache.h" | 39 #include "stub-cache.h" |
40 | 40 |
41 namespace v8 { | 41 namespace v8 { |
42 namespace internal { | 42 namespace internal { |
43 | 43 |
44 | 44 |
45 #define __ ACCESS_MASM(masm_) | 45 #define __ ACCESS_MASM(masm_) |
46 | 46 |
| 47 |
47 static unsigned GetPropertyId(Property* property) { | 48 static unsigned GetPropertyId(Property* property) { |
48 if (property->is_synthetic()) return AstNode::kNoNumber; | 49 if (property->is_synthetic()) return AstNode::kNoNumber; |
49 return property->id(); | 50 return property->id(); |
50 } | 51 } |
51 | 52 |
52 | 53 |
53 class JumpPatchSite BASE_EMBEDDED { | 54 class JumpPatchSite BASE_EMBEDDED { |
54 public: | 55 public: |
55 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { | 56 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { |
56 #ifdef DEBUG | 57 #ifdef DEBUG |
(...skipping 4257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4314 // And return. | 4315 // And return. |
4315 __ ret(0); | 4316 __ ret(0); |
4316 } | 4317 } |
4317 | 4318 |
4318 | 4319 |
4319 #undef __ | 4320 #undef __ |
4320 | 4321 |
4321 } } // namespace v8::internal | 4322 } } // namespace v8::internal |
4322 | 4323 |
4323 #endif // V8_TARGET_ARCH_IA32 | 4324 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |