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

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

Issue 8403036: Remove kInvalidStrictFlag and make gcc-4.5 happy again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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/runtime.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 // function. 1206 // function.
1207 return result; 1207 return result;
1208 } 1208 }
1209 1209
1210 1210
1211 RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty) { 1211 RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty) {
1212 ASSERT(args.length() == 4); 1212 ASSERT(args.length() == 4);
1213 JSObject* recv = JSObject::cast(args[0]); 1213 JSObject* recv = JSObject::cast(args[0]);
1214 String* name = String::cast(args[1]); 1214 String* name = String::cast(args[1]);
1215 Object* value = args[2]; 1215 Object* value = args[2];
1216 ASSERT(args.smi_at(3) == kStrictMode || args.smi_at(3) == kNonStrictMode);
1216 StrictModeFlag strict_mode = static_cast<StrictModeFlag>(args.smi_at(3)); 1217 StrictModeFlag strict_mode = static_cast<StrictModeFlag>(args.smi_at(3));
1217 ASSERT(strict_mode == kStrictMode || strict_mode == kNonStrictMode);
1218 ASSERT(recv->HasNamedInterceptor()); 1218 ASSERT(recv->HasNamedInterceptor());
1219 PropertyAttributes attr = NONE; 1219 PropertyAttributes attr = NONE;
1220 MaybeObject* result = recv->SetPropertyWithInterceptor( 1220 MaybeObject* result = recv->SetPropertyWithInterceptor(
1221 name, value, attr, strict_mode); 1221 name, value, attr, strict_mode);
1222 return result; 1222 return result;
1223 } 1223 }
1224 1224
1225 1225
1226 RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor) { 1226 RUNTIME_FUNCTION(MaybeObject*, KeyedLoadPropertyWithInterceptor) {
1227 JSObject* receiver = JSObject::cast(args[0]); 1227 JSObject* receiver = JSObject::cast(args[0]);
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 expected_receiver_type_ = 1736 expected_receiver_type_ =
1737 FunctionTemplateInfo::cast(signature->receiver()); 1737 FunctionTemplateInfo::cast(signature->receiver());
1738 } 1738 }
1739 } 1739 }
1740 1740
1741 is_simple_api_call_ = true; 1741 is_simple_api_call_ = true;
1742 } 1742 }
1743 1743
1744 1744
1745 } } // namespace v8::internal 1745 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698